class

OpenAI::CustomToolChatCompletions

Inherits JSON::Serializable < Reference < Object

A custom tool that processes input using a specified format.

Constructors

new(type_value : CustomToolChatCompletionsType = CustomToolChatCompletionsType::Custom, custom : CustomToolChatCompletionsCustom = CustomToolChatCompletionsCustom.new)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

custom

Properties of the custom tool.

Source
custom=(custom : CustomToolChatCompletionsCustom)

Properties of the custom tool.

Source
type_value

The type of the custom tool. Always custom.

Source
type_value=(type_value : CustomToolChatCompletionsType)

The type of the custom tool. Always custom.

Source