OpenAI::CustomToolChatCompletions
Inherits JSON::Serializable < Reference < Object
A custom tool that processes input using a specified format.
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : CustomToolChatCompletionsType = CustomToolChatCompletionsType::Custom, custom : CustomToolChatCompletionsCustom = CustomToolChatCompletionsCustom.new)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
type_value=(type_value : CustomToolChatCompletionsType)
The type of the custom tool. Always custom.