Command
New-IntelligenceXThreadFork
Creates a new thread fork from an existing thread's history.
Syntax
New-IntelligenceXThreadFork
-ThreadId <string>
[-Client <IntelligenceXClient>]
[-Raw]
[<CommonParameters>]#Examples
Example 1
New-IntelligenceXThreadFork -ThreadId $thread.IdFork a thread
Example 2
$fork = New-IntelligenceXThreadFork -ThreadId $thread.Id; Send-IntelligenceXMessage -ThreadId $fork.Id -Text "Take a different approach."Fork and continue conversation in the new thread
Example 3
New-IntelligenceXThreadFork -ThreadId $thread.Id -RawReturn raw JSON response
Parameters
- -ThreadId string
- Identifier of the source thread to fork.
- -Client IntelligenceXClient
- Client instance to use. Defaults to the active client.
- -Raw SwitchParameter
- Returns the raw JSON-RPC payload instead of typed thread info.
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.