IntelligenceX
Command

Request-IntelligenceXUserInput

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

Requests user input through the app-server.

Syntax

Request-IntelligenceXUserInput
-Questions <string[]>
[-Client <IntelligenceXClient>]
[-Raw]
[<CommonParameters>]
#

Examples

Example 1

Request-IntelligenceXUserInput -Questions "Repo name?", "Branch?"

Ask for two inputs

Example 2

Request-IntelligenceXUserInput -Questions "Continue?" -Raw

Return raw JSON response

Example 3

$response = Request-IntelligenceXUserInput -Questions "PR number?", "Merge now?"; $response.Answers

Use responses in script flow

Parameters

-Questions string[] required
Questions to ask (minimum 1, maximum 3).
-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 response data.

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.