IntelligenceX
Cmdlet

Request-IntelligenceXUserInput

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

Requests user input through the app-server.

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

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

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

Parameters

Questions string[] requiredposition: namedpipeline: false
Questions to ask (minimum 1, maximum 3).
Client IntelligenceXClient optionalposition: namedpipeline: true (ByValue)
Client instance to use. Defaults to the active client.
Raw SwitchParameter optionalposition: namedpipeline: false
Returns the raw JSON-RPC payload instead of typed response data.

Outputs

IntelligenceX.Json.JsonValue, IntelligenceX.OpenAI.AppServer.Models.UserInputResponse