OpenAI::ChatCompletionAllowedToolsChoice
Inherits JSON::Serializable < Reference < Object
Constrains the tools available to the model to a pre-defined set.
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : ChatCompletionAllowedToolsChoiceType = ChatCompletionAllowedToolsChoiceType::AllowedTools, allowed_tools : ChatCompletionAllowedTools = ChatCompletionAllowedTools.new)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
allowed_tools
Sourceallowed_tools=(allowed_tools : ChatCompletionAllowedTools)
Sourcetype_value=(type_value : ChatCompletionAllowedToolsChoiceType)
Allowed tool configuration type. Always allowed_tools.