FunctionDefinition interface

The input definition information for a function.

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.

parameters

The parameters the functions accepts, described as a JSON Schema object.

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.

name: string

Property Value

string

parameters

The parameters the functions accepts, described as a JSON Schema object.

parameters: unknown

Property Value

unknown