ChatCompletionsNamedToolSelection interface

A tool selection of a specific, named function tool that will limit chat completions to using the named function.

Properties

function

The function that should be called.

type

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

Property Details

function

The function that should be called.

function: ChatCompletionsFunctionToolSelection

Property Value

type

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

type: "function"

Property Value

"function"