IntelligenceX
Cmdlet

Initialize-IntelligenceX

Namespace IntelligenceX.PowerShell
Inputs
IntelligenceX.OpenAI.IntelligenceXClient

Initializes the client handshake with the app-server.

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

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

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

Parameters

Name string requiredposition: namedpipeline: false
Client identifier sent to the app-server (machine-friendly).
Title string requiredposition: namedpipeline: false
Client display title sent to the app-server (human-friendly).
Version string requiredposition: namedpipeline: false
Client version sent to the app-server for telemetry/capability context.
Client IntelligenceXClient optionalposition: namedpipeline: true (ByValue)
Client instance to initialize. Defaults to the active client.