Command
Stop-IntelligenceXTurn
Interrupts a running turn for a thread.
Syntax
Stop-IntelligenceXTurn
-ThreadId <string>
-TurnId <string>
[-Client <IntelligenceXClient>]
[<CommonParameters>]#Examples
Example 1
Stop-IntelligenceXTurn -ThreadId $thread.Id -TurnId $turn.IdStop a running turn
Example 2
$turn = Send-IntelligenceXMessage -ThreadId $thread.Id -Text "Generate a long report"; Stop-IntelligenceXTurn -ThreadId $thread.Id -TurnId $turn.IdStop the turn returned by Send-IntelligenceXMessage
Example 3
Stop-IntelligenceXTurn -Client $client -ThreadId $thread.Id -TurnId $turn.IdInterrupt with an explicit client
Parameters
- -ThreadId string
- Identifier of the thread that owns the running turn.
- -TurnId string
- Identifier of the turn to interrupt.
- -Client IntelligenceXClient
- Client instance to use. Defaults to the active client.
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.