Class: OpenAI::Models::Responses::ResponseContentPartAddedEvent::Part::ReasoningText
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Responses::ResponseContentPartAddedEvent::Part::ReasoningText
- Defined in:
- lib/openai/models/responses/response_content_part_added_event.rb
Instance Attribute Summary collapse
-
#text ⇒ String
The reasoning text from the model.
-
#type ⇒ Symbol, :reasoning_text
The type of the reasoning text.
Instance Method Summary collapse
-
#initialize(text:, type: :reasoning_text) ⇒ Object
constructor
Reasoning text from the model.
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(text:, type: :reasoning_text) ⇒ Object
Reasoning text from the model.
|
|
# File 'lib/openai/models/responses/response_content_part_added_event.rb', line 91
|
Instance Attribute Details
#text ⇒ String
The reasoning text from the model.
83 |
# File 'lib/openai/models/responses/response_content_part_added_event.rb', line 83 required :text, String |
#type ⇒ Symbol, :reasoning_text
The type of the reasoning text. Always ‘reasoning_text`.
89 |
# File 'lib/openai/models/responses/response_content_part_added_event.rb', line 89 required :type, const: :reasoning_text |