Tool

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

Represents a tool that can be used by the model.

Author

Konstantin Pavlov

Constructors

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

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.