Class: OpenAI::Models::Responses::ResponseWebSearchCallInProgressEvent

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/openai/models/responses/response_web_search_call_in_progress_event.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(item_id: , output_index: , sequence_number: , type: :"response.web_search_call.in_progress") ⇒ Object

Some parameter documentations has been truncated, see OpenAI::Models::Responses::ResponseWebSearchCallInProgressEvent for more details.

Emitted when a web search call is initiated.

Parameters:

  • item_id (String) (defaults to: )

    Unique ID for the output item associated with the web search call.

  • output_index (Integer) (defaults to: )

    The index of the output item that the web search call is associated with.

  • sequence_number (Integer) (defaults to: )

    The sequence number of the web search call being processed.

  • type (Symbol, :"response.web_search_call.in_progress") (defaults to: :"response.web_search_call.in_progress")

    The type of the event. Always ‘response.web_search_call.in_progress`.



# File 'lib/openai/models/responses/response_web_search_call_in_progress_event.rb', line 31

Instance Attribute Details

#item_idString

Unique ID for the output item associated with the web search call.

Returns:

  • (String)


11
# File 'lib/openai/models/responses/response_web_search_call_in_progress_event.rb', line 11

required :item_id, String

#output_indexInteger

The index of the output item that the web search call is associated with.

Returns:

  • (Integer)


17
# File 'lib/openai/models/responses/response_web_search_call_in_progress_event.rb', line 17

required :output_index, Integer

#sequence_numberInteger

The sequence number of the web search call being processed.

Returns:

  • (Integer)


23
# File 'lib/openai/models/responses/response_web_search_call_in_progress_event.rb', line 23

required :sequence_number, Integer

#typeSymbol, :"response.web_search_call.in_progress"

The type of the event. Always ‘response.web_search_call.in_progress`.

Returns:

  • (Symbol, :"response.web_search_call.in_progress")


29
# File 'lib/openai/models/responses/response_web_search_call_in_progress_event.rb', line 29

required :type, const: :"response.web_search_call.in_progress"