interface FunctionDef {
    name: string;
    parameters: ObjectProp;
    description?: string;
}

Hierarchy

  • Omit<FunctionDefinition, "parameters">
    • FunctionDef

Properties

name: string

The name of the function to be called.

parameters: ObjectProp
description?: string

A description of what the function does. The model will use this description when selecting the function and interpreting its parameters.

""