PredictedDoCommand interface

A predicted DO command is an action that the AI system should perform.

Extends

Properties

action

The named action that the AI system should perform.

actionId

Optional. The id mapped to the name action that the AI system should perform. In OpenAI, this is associated with the action_id tool calls.

parameters

Any parameters that the AI system should use to perform the action.

type

Type to indicate that a DO command is being returned.

Property Details

action

The named action that the AI system should perform.

action: string

Property Value

string

actionId

Optional. The id mapped to the name action that the AI system should perform. In OpenAI, this is associated with the action_id tool calls.

actionId?: string

Property Value

string

parameters

Any parameters that the AI system should use to perform the action.

parameters: Record<string, any>

Property Value

Record<string, any>

type

Type to indicate that a DO command is being returned.

type: "DO"

Property Value

"DO"