Class: OpenAI::Models::Beta::Threads::Runs::FileSearchToolCall::FileSearch
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Beta::Threads::Runs::FileSearchToolCall::FileSearch
- Defined in:
- lib/openai/models/beta/threads/runs/file_search_tool_call.rb
Overview
Defined Under Namespace
Classes: RankingOptions, Result
Instance Attribute Summary collapse
-
#ranking_options ⇒ OpenAI::Models::Beta::Threads::Runs::FileSearchToolCall::FileSearch::RankingOptions?
The ranking options for the file search.
-
#results ⇒ Array<OpenAI::Models::Beta::Threads::Runs::FileSearchToolCall::FileSearch::Result>?
The results of the file search.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(ranking_options: nil, results: nil) ⇒ Object
constructor
For now, this is always going to be an empty object.
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(ranking_options: nil, results: nil) ⇒ Object
For now, this is always going to be an empty object.
|
# File 'lib/openai/models/beta/threads/runs/file_search_tool_call.rb', line 56
|
Instance Attribute Details
#ranking_options ⇒ OpenAI::Models::Beta::Threads::Runs::FileSearchToolCall::FileSearch::RankingOptions?
The ranking options for the file search.
44 45 |
# File 'lib/openai/models/beta/threads/runs/file_search_tool_call.rb', line 44 optional :ranking_options, -> { OpenAI::Beta::Threads::Runs::FileSearchToolCall::FileSearch::RankingOptions } |
#results ⇒ Array<OpenAI::Models::Beta::Threads::Runs::FileSearchToolCall::FileSearch::Result>?
The results of the file search.
51 52 53 54 |
# File 'lib/openai/models/beta/threads/runs/file_search_tool_call.rb', line 51 optional :results, -> { OpenAI::Internal::Type::ArrayOf[OpenAI::Beta::Threads::Runs::FileSearchToolCall::FileSearch::Result] } |
Class Method Details
.values ⇒ Array<Symbol>
|
# File 'lib/openai/models/beta/threads/runs/file_search_tool_call.rb', line 103
|