ChatCompletionsToolDefinition interface

The definition of a chat completions tool that can call a function.

Properties

function

The function definition details for the function tool.

type

The type of the tool. Currently, only function is supported.

Property Details

function

The function definition details for the function tool.

function: FunctionDefinition

Property Value

type

The type of the tool. Currently, only function is supported.

type: "function"

Property Value

"function"