class

OpenAI::InferenceOptions

Inherits JSON::Serializable < Reference < Object

Model and tool overrides applied when generating the assistant response.

Constructors

new(tool_choice : InferenceOptionsToolChoice = nil, model : InferenceOptionsModel = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

model
Source
model=(model : InferenceOptionsModel)
Source
tool_choice
Source
tool_choice=(tool_choice : InferenceOptionsToolChoice)
Source