Cmdlet
Resume-IntelligenceXThread
Resumes an existing thread so new messages can be sent to it.
Examples
Example 1
Resume-IntelligenceXThread -ThreadId $thread.Id
Resume a thread by id
Example 2
$active = Resume-IntelligenceXThread -ThreadId $thread.Id; Send-IntelligenceXMessage -ThreadId $active.Id -Text "Continue from previous context."
Resume and send a follow-up message
Example 3
Resume-IntelligenceXThread -ThreadId $thread.Id -Raw
Return raw JSON response
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.
Syntax
Resume-IntelligenceXThread -ThreadId <string> [-Client <IntelligenceXClient>] [-Raw] [<CommonParameters>]#Parameters
- ThreadId string
- Identifier of the thread to resume.
- Client IntelligenceXClient
- Client instance to use. Defaults to the active client.
- Raw SwitchParameter
- Returns the raw JSON-RPC payload instead of typed thread info.
Outputs
IntelligenceX.Json.JsonValue, IntelligenceX.OpenAI.AppServer.Models.ThreadInfo