Class: OpenAI::Models::Responses::ResponseFunctionWebSearch
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Responses::ResponseFunctionWebSearch
- Defined in:
- lib/openai/models/responses/response_function_web_search.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#action ⇒ OpenAI::Models::Responses::ResponseFunctionWebSearch::Action::Search, ...
An object describing the specific action taken in this web search call.
-
#id ⇒ String
The unique ID of the web search tool call.
-
#status ⇒ Symbol, OpenAI::Models::Responses::ResponseFunctionWebSearch::Status
The status of the web search tool call.
-
#type ⇒ Symbol, :web_search_call
The type of the web search tool call.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(pattern: , url: , type: :find) ⇒ void
constructor
Some parameter documentations has been truncated, see Action::Find 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, 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(pattern: , url: , type: :find) ⇒ void
Some parameter documentations has been truncated, see OpenAI::Models::Responses::ResponseFunctionWebSearch::Action::Find for more details.
Action type "find": Searches for a pattern within a loaded page.
|
|
# File 'lib/openai/models/responses/response_function_web_search.rb', line 32
|
Instance Attribute Details
#action ⇒ OpenAI::Models::Responses::ResponseFunctionWebSearch::Action::Search, ...
An object describing the specific action taken in this web search call. Includes details on how the model used the web (search, open_page, find).
18 |
# File 'lib/openai/models/responses/response_function_web_search.rb', line 18 required :action, union: -> { OpenAI::Responses::ResponseFunctionWebSearch::Action } |
#id ⇒ String
The unique ID of the web search tool call.
11 |
# File 'lib/openai/models/responses/response_function_web_search.rb', line 11 required :id, String |
#status ⇒ Symbol, OpenAI::Models::Responses::ResponseFunctionWebSearch::Status
The status of the web search tool call.
24 |
# File 'lib/openai/models/responses/response_function_web_search.rb', line 24 required :status, enum: -> { OpenAI::Responses::ResponseFunctionWebSearch::Status } |
#type ⇒ Symbol, :web_search_call
The type of the web search tool call. Always web_search_call.
30 |
# File 'lib/openai/models/responses/response_function_web_search.rb', line 30 required :type, const: :web_search_call |
Class Method Details
.variants ⇒ Array(OpenAI::Models::Responses::ResponseFunctionWebSearch::Action::Search, OpenAI::Models::Responses::ResponseFunctionWebSearch::Action::OpenPage, OpenAI::Models::Responses::ResponseFunctionWebSearch::Action::Find)
|
|
# File 'lib/openai/models/responses/response_function_web_search.rb', line 149
|