FunctionObject interface

model interface FunctionObject

Properties

description

A description of what the function does, used by the model to choose when and how to call the function.

name

The name of the function to be called. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.

parameters
strict

Property Details

description

A description of what the function does, used by the model to choose when and how to call the function.

description?: string

Property Value

string

name

The name of the function to be called. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.

name: string

Property Value

string

parameters

parameters?: FunctionParameters

Property Value

strict

strict?: boolean

Property Value

boolean