OpenAI::ChatCompletionMessageCustomToolCall
Inherits JSON::Serializable < Reference < Object
A call to a custom tool created by the model.
Constructors
new(pull : JSON::PullParser)
Sourcenew(id : String = "", type_value : ChatCompletionMessageCustomToolCallType = ChatCompletionMessageCustomToolCallType::Custom, custom : ChatCompletionMessageCustomToolCallCustom = ChatCompletionMessageCustomToolCallCustom.new)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
custom=(custom : ChatCompletionMessageCustomToolCallCustom)
The custom tool that the model called.
type_value=(type_value : ChatCompletionMessageCustomToolCallType)
The type of the tool. Always custom.