Specifying a particular function via {"name": "my_function"} forces the model to call that function.

interface ChatCompletionFunctionCallOption {
    name: string;
}

Properties

Properties

name: string

The name of the function to call.