Class: OpenAI::Models::Beta::BetaResponseFunctionWebSearch::Action::Search
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Beta::BetaResponseFunctionWebSearch::Action::Search
- Defined in:
- lib/openai/models/beta/beta_response_function_web_search.rb,
sig/openai/models/beta/beta_response_function_web_search.rbs
Defined Under Namespace
Classes: Source
Instance Attribute Summary collapse
-
#queries ⇒ Array<String>?
The search queries.
- #query ⇒ String? deprecated Deprecated.
-
#sources ⇒ Array<OpenAI::Models::Beta::BetaResponseFunctionWebSearch::Action::Search::Source>?
The sources used in the search.
-
#type ⇒ Symbol, :search
The action type.
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
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 ⇒ Object
75 |
# File 'sig/openai/models/beta/beta_response_function_web_search.rbs', line 75
def initialize: (
|
Instance Attribute Details
#queries ⇒ Array<String>?
The search queries.
85 |
# File 'lib/openai/models/beta/beta_response_function_web_search.rb', line 85 optional :queries, OpenAI::Internal::Type::ArrayOf[String] |
#query ⇒ String?
Deprecated.
The search query.
93 |
# File 'lib/openai/models/beta/beta_response_function_web_search.rb', line 93 optional :query, String |
#sources ⇒ Array<OpenAI::Models::Beta::BetaResponseFunctionWebSearch::Action::Search::Source>?
The sources used in the search.
99 100 |
# File 'lib/openai/models/beta/beta_response_function_web_search.rb', line 99 optional :sources, -> { OpenAI::Internal::Type::ArrayOf[OpenAI::Beta::BetaResponseFunctionWebSearch::Action::Search::Source] } |
#type ⇒ Symbol, :search
The action type.
79 |
# File 'lib/openai/models/beta/beta_response_function_web_search.rb', line 79 required :type, const: :search |
Instance Method Details
#to_hash ⇒ {
82 |
# File 'sig/openai/models/beta/beta_response_function_web_search.rbs', line 82
def to_hash: -> {
|