IntelligenceX
Cmdlet

Set-IntelligenceXConfigValue

Namespace IntelligenceX.PowerShell
Inputs
IntelligenceX.OpenAI.IntelligenceXClient

Writes a single app-server configuration value.

Examples

Example 1


Set-IntelligenceXConfigValue -Key "model" -Value "gpt-5.3-codex"
        

Set the model used by default

Example 2


Set-IntelligenceXConfigValue -Key "stream" -Value $true; Set-IntelligenceXConfigValue -Key "maxOutputTokens" -Value 4096
        

Set a boolean or numeric value

Example 3


Set-IntelligenceXConfigValue -Key "responseFormat" -Value @{ type = "json_schema"; strict = $true }
        

Write a nested object using a hashtable

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

Set-IntelligenceXConfigValue -Key <string> -Value <object> [-Client <IntelligenceXClient>] [<CommonParameters>]
#

Parameters

Key string requiredposition: namedpipeline: false
Configuration key to write.
Value object requiredposition: namedpipeline: false
Configuration value. Converted to JSON (string, number, boolean, array, object).
Client IntelligenceXClient optionalposition: namedpipeline: true (ByValue)
App-server client instance to use. Defaults to the active client.