Tool

data class Tool(val type: String = "function", val function: FunctionObject)(source)

Represents a tool that can be called by the model.

See also

Constructors

Link copied to clipboard
constructor(type: String = "function", function: FunctionObject)

Properties

Link copied to clipboard

The function definition.

Link copied to clipboard

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