Class: OpenAI::Models::Beta::ChatKit::ChatKitThreadUserMessageItem::InferenceOptions
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Beta::ChatKit::ChatKitThreadUserMessageItem::InferenceOptions
- Defined in:
- lib/openai/models/beta/chatkit/chatkit_thread_user_message_item.rb
Overview
Defined Under Namespace
Classes: ToolChoice
Instance Attribute Summary collapse
-
#model ⇒ String?
Model name that generated the response.
-
#tool_choice ⇒ OpenAI::Models::Beta::ChatKit::ChatKitThreadUserMessageItem::InferenceOptions::ToolChoice?
Preferred tool to invoke.
Instance Method Summary collapse
-
#initialize(model:, tool_choice:) ⇒ Object
constructor
Some parameter documentations has been truncated, see InferenceOptions for more details.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(model:, tool_choice:) ⇒ Object
Some parameter documentations has been truncated, see OpenAI::Models::Beta::ChatKit::ChatKitThreadUserMessageItem::InferenceOptions for more details.
Inference overrides applied to the message. Defaults to null when unset.
|
|
# File 'lib/openai/models/beta/chatkit/chatkit_thread_user_message_item.rb', line 152
|
Instance Attribute Details
#model ⇒ String?
Model name that generated the response. Defaults to null when using the session default.
142 |
# File 'lib/openai/models/beta/chatkit/chatkit_thread_user_message_item.rb', line 142 required :model, String, nil?: true |
#tool_choice ⇒ OpenAI::Models::Beta::ChatKit::ChatKitThreadUserMessageItem::InferenceOptions::ToolChoice?
Preferred tool to invoke. Defaults to null when ChatKit should auto-select.
148 149 150 |
# File 'lib/openai/models/beta/chatkit/chatkit_thread_user_message_item.rb', line 148 required :tool_choice, -> { OpenAI::Beta::ChatKit::ChatKitThreadUserMessageItem::InferenceOptions::ToolChoice }, nil?: true |