OpenAIToolCall

class OpenAIToolCall(val id: String, val function: OpenAIFunction)(source)

Tool call generated by the OpenAI model.

Constructors

Link copied to clipboard
constructor(id: String, function: OpenAIFunction)

Properties

Link copied to clipboard

The function that the model called.

Link copied to clipboard
val id: String

The ID of the tool call.

Link copied to clipboard

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