IntelligenceX
Command

Initialize-IntelligenceX

Module
IntelligenceX.PowerShell
Inputs
IntelligenceX.OpenAI.IntelligenceXClient

Initializes the client handshake with the app-server.

Syntax

Initialize-IntelligenceX
-Name <string>
-Title <string>
-Version <string>
[-Client <IntelligenceXClient>]
[<CommonParameters>]
#

Examples

Example 1

Initialize-IntelligenceX -Name "ix-cli" -Title "IntelligenceX CLI" -Version "0.1.0"

Initialize the app-server session

Example 2

$client = Connect-IntelligenceX; Initialize-IntelligenceX -Client $client -Name "Automation" -Title "Build Runner" -Version "1.0.0"

Initialize a specific client instance

Example 3

$client = Connect-IntelligenceX; Initialize-IntelligenceX -Client $client -Name "Repo.Tooling" -Title "Repo Tooling" -Version "0.2.0"

Initialize immediately after connect in a script bootstrap

Parameters

-Name string required
Client identifier sent to the app-server (machine-friendly).
-Title string required
Client display title sent to the app-server (human-friendly).
-Version string required
Client version sent to the app-server for telemetry/capability context.
-Client IntelligenceXClient optionalpipeline: true (ByValue)
Client instance to initialize. 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.