Tool

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

Represents a tool that can be used by the model.

Constructors

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

Properties

Link copied to clipboard

The function object that describes the tool

Link copied to clipboard

The type of the tool, always "function" for now