Skip to content

Submit OAIToolOutputs

dfinke edited this page Apr 20, 2024 · 2 revisions

Submit-OAIToolOutputs

SYNOPSIS

Submits tool outputs for a specific thread and run.

SYNTAX

Submit-OAIToolOutputs [-ThreadId] <Object> [-RunId] <Object> [-ToolOutputs] <Object>
 [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

The Submit-OAIToolOutputs function is used to submit tool outputs for a specific thread and run in an application. It sends a POST request to the specified URL with the provided tool outputs.

EXAMPLES

EXAMPLE 1

Submit-OAIToolOutputs -threadId 123 -runId 456 -toolOutputs $outputs

PARAMETERS

-ThreadId

The ID of the thread for which the tool outputs are being submitted.

Type: Object
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-RunId

The ID of the run for which the tool outputs are being submitted.

Type: Object
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ToolOutputs

The tool outputs to be submitted. This parameter should be an object containing the tool outputs.

Type: Object
Parameter Sets: (All)
Aliases:

Required: True
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction

{{ 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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

RELATED LINKS

https://platform.openai.com/docs/api-reference/runs/submitToolOutputs

Clone this wiki locally