IntelligenceX
Command

Resume-IntelligenceXThread

Module
IntelligenceX.PowerShell
Inputs
IntelligenceX.OpenAI.IntelligenceXClient
Outputs
IntelligenceX.Json.JsonValue IntelligenceX.OpenAI.AppServer.Models.ThreadInfo

Resumes an existing thread so new messages can be sent to it.

Syntax

Resume-IntelligenceXThread
-ThreadId <string>
[-Client <IntelligenceXClient>]
[-Raw]
[<CommonParameters>]
#

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

Parameters

-ThreadId string required
Identifier of the thread to resume.
-Client IntelligenceXClient optionalpipeline: true (ByValue)
Client instance to use. Defaults to the active client.
-Raw SwitchParameter optional
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.