ChatCompletionAction interface
An action that can be called by an LLM.
Properties
description | Optional. Description of what the action does. |
name | Name of the action to be called. |
parameters | Optional. Parameters the action accepts, described as a JSON Schema object. |
Property Details
description
Optional. Description of what the action does.
description?: string
Property Value
string
name
Name of the action to be called.
name: string
Property Value
string
Remarks
Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
parameters
Optional. Parameters the action accepts, described as a JSON Schema object.
parameters?: Schema
Property Value
Schema
Remarks
See JSON Schema reference for documentation about the format.