Class: OpenAI::Models::Beta::Threads::Runs::FileSearchToolCallDelta
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Beta::Threads::Runs::FileSearchToolCallDelta
- Defined in:
- lib/openai/models/beta/threads/runs/file_search_tool_call_delta.rb
Instance Attribute Summary collapse
-
#file_search ⇒ Object
For now, this is always going to be an empty object.
-
#id ⇒ String?
The ID of the tool call object.
-
#index ⇒ Integer
The index of the tool call in the tool calls array.
-
#type ⇒ Symbol, :file_search
The type of tool call.
Instance Method Summary collapse
-
#initialize(file_search: , index: , id: nil, type: :file_search) ⇒ Object
constructor
Some parameter documentations has been truncated, see FileSearchToolCallDelta 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(file_search: , index: , id: nil, type: :file_search) ⇒ Object
Some parameter documentations has been truncated, see OpenAI::Models::Beta::Threads::Runs::FileSearchToolCallDelta for more details.
|
# File 'lib/openai/models/beta/threads/runs/file_search_tool_call_delta.rb', line 34
|
Instance Attribute Details
#file_search ⇒ Object
For now, this is always going to be an empty object.
13 |
# File 'lib/openai/models/beta/threads/runs/file_search_tool_call_delta.rb', line 13 required :file_search, OpenAI::Internal::Type::Unknown |
#id ⇒ String?
The ID of the tool call object.
32 |
# File 'lib/openai/models/beta/threads/runs/file_search_tool_call_delta.rb', line 32 optional :id, String |
#index ⇒ Integer
The index of the tool call in the tool calls array.
19 |
# File 'lib/openai/models/beta/threads/runs/file_search_tool_call_delta.rb', line 19 required :index, Integer |
#type ⇒ Symbol, :file_search
The type of tool call. This is always going to be ‘file_search` for this type of tool call.
26 |
# File 'lib/openai/models/beta/threads/runs/file_search_tool_call_delta.rb', line 26 required :type, const: :file_search |