Class: OpenAI::Models::Chat::ChatCompletionChunk::Choice::Delta::ToolCall
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Chat::ChatCompletionChunk::Choice::Delta::ToolCall
- Defined in:
- lib/openai/models/chat/chat_completion_chunk.rb
Defined Under Namespace
Modules: Type Classes: Function
Instance Attribute Summary collapse
- #function ⇒ OpenAI::Models::Chat::ChatCompletionChunk::Choice::Delta::ToolCall::Function?
-
#id ⇒ String?
The ID of the tool call.
- #index ⇒ Integer
-
#type ⇒ Symbol, ...
The type of the tool.
Instance Method Summary collapse
-
#initialize(arguments: nil, name: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see Function 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, 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(arguments: nil, name: nil) ⇒ Object
Some parameter documentations has been truncated, see Function for more details.
|
# File 'lib/openai/models/chat/chat_completion_chunk.rb', line 276
|
Instance Attribute Details
#function ⇒ OpenAI::Models::Chat::ChatCompletionChunk::Choice::Delta::ToolCall::Function?
268 |
# File 'lib/openai/models/chat/chat_completion_chunk.rb', line 268 optional :function, -> { OpenAI::Chat::ChatCompletionChunk::Choice::Delta::ToolCall::Function } |
#id ⇒ String?
The ID of the tool call.
263 |
# File 'lib/openai/models/chat/chat_completion_chunk.rb', line 263 optional :id, String |
#index ⇒ Integer
257 |
# File 'lib/openai/models/chat/chat_completion_chunk.rb', line 257 required :index, Integer |