-
Notifications
You must be signed in to change notification settings - Fork 14
New OAIThreadQuery
dfinke edited this page Apr 20, 2024
·
2 revisions
Creates a new thread query.
New-OAIThreadQuery [-UserInput] <Object> [-Assistant] <Object> [-ProgressAction <ActionPreference>]
[<CommonParameters>]
The New-OAIThreadQuery function creates a new thread query by invoking the New-OAIThread cmdlet and submitting a message using the Submit-OAIMessage cmdlet.
New-OAIThreadQuery -UserInput "Hello" -Assistant $assistant
This example creates a new thread query with the user input "Hello" and the specified assistant.
The user input to be included in the query.
Type: Object
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The assistant to be used for the query.
Type: Object
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.