Class: OpenAI::Models::Responses::ResponseTextDoneEvent
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Responses::ResponseTextDoneEvent
- Defined in:
- lib/openai/models/responses/response_text_done_event.rb
Direct Known Subclasses
Defined Under Namespace
Classes: Logprob
Instance Attribute Summary collapse
-
#content_index ⇒ Integer
The index of the content part that the text content is finalized.
-
#item_id ⇒ String
The ID of the output item that the text content is finalized.
-
#logprobs ⇒ Array<OpenAI::Models::Responses::ResponseTextDoneEvent::Logprob>
The log probabilities of the tokens in the delta.
-
#output_index ⇒ Integer
The index of the output item that the text content is finalized.
-
#sequence_number ⇒ Integer
The sequence number for this event.
-
#text ⇒ String
The text content that is finalized.
-
#type ⇒ Symbol, :"response.output_text.done"
The type of the event.
Method Summary
Methods inherited from Internal::Type::BaseModel
#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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
This class inherits a constructor from OpenAI::Internal::Type::BaseModel
Instance Attribute Details
#content_index ⇒ Integer
The index of the content part that the text content is finalized.
11 |
# File 'lib/openai/models/responses/response_text_done_event.rb', line 11 required :content_index, Integer |
#item_id ⇒ String
The ID of the output item that the text content is finalized.
17 |
# File 'lib/openai/models/responses/response_text_done_event.rb', line 17 required :item_id, String |
#logprobs ⇒ Array<OpenAI::Models::Responses::ResponseTextDoneEvent::Logprob>
The log probabilities of the tokens in the delta.
23 24 |
# File 'lib/openai/models/responses/response_text_done_event.rb', line 23 required :logprobs, -> { OpenAI::Internal::Type::ArrayOf[OpenAI::Responses::ResponseTextDoneEvent::Logprob] } |
#output_index ⇒ Integer
The index of the output item that the text content is finalized.
30 |
# File 'lib/openai/models/responses/response_text_done_event.rb', line 30 required :output_index, Integer |
#sequence_number ⇒ Integer
The sequence number for this event.
36 |
# File 'lib/openai/models/responses/response_text_done_event.rb', line 36 required :sequence_number, Integer |
#text ⇒ String
The text content that is finalized.
42 |
# File 'lib/openai/models/responses/response_text_done_event.rb', line 42 required :text, String |
#type ⇒ Symbol, :"response.output_text.done"
The type of the event. Always response.output_text.done
.
48 |
# File 'lib/openai/models/responses/response_text_done_event.rb', line 48 required :type, const: :"response.output_text.done" |