Class: OpenAI::Models::Live::ThinkingAppendEvent
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Live::ThinkingAppendEvent
- Defined in:
- lib/openai/models/live/thinking_append_event.rb,
sig/openai/models/live/thinking_append_event.rbs
Instance Attribute Summary collapse
-
#content ⇒ String
Silent reasoning or progress context, limited to 500 tokens.
-
#delegation_id ⇒ String?
Required, nullable.
-
#event_id ⇒ String?
Optional client identifier for correlating this command with a server event's client_event_id or error.client_event_id.
-
#type ⇒ Symbol, :"session.thinking.append"
The Live client event type.
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
-
#initialize(content:, delegation_id:, event_id: nil, type: :"session.thinking.append") ⇒ Object
constructor
Provide silent reasoning or progress context to the Live model, optionally for an existing client delegation.
- #to_hash ⇒ {
Methods inherited from Internal::Type::BaseModel
==, #==, #[], #_request_id, #_set_last_response, coerce, #deconstruct_keys, #deep_to_h, dump, #encode_with, 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, coerce_with_error, 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(content:, delegation_id:, event_id: nil, type: :"session.thinking.append") ⇒ Object
Provide silent reasoning or progress context to the Live model, optionally for an existing client delegation.
|
|
# File 'lib/openai/models/live/thinking_append_event.rb', line 36
|
Instance Attribute Details
#content ⇒ String
Silent reasoning or progress context, limited to 500 tokens. It does not directly request speech, but can influence later speech and is not a secrecy boundary.
13 |
# File 'lib/openai/models/live/thinking_append_event.rb', line 13 required :content, String |
#delegation_id ⇒ String?
Required, nullable. Set null for general session context, or use the ID from session.delegation.created for an existing client delegation. Non-null IDs are not accepted with Responses delegation.
21 |
# File 'lib/openai/models/live/thinking_append_event.rb', line 21 required :delegation_id, String, nil?: true |
#event_id ⇒ String?
Optional client identifier for correlating this command with a server event's client_event_id or error.client_event_id.
34 |
# File 'lib/openai/models/live/thinking_append_event.rb', line 34 optional :event_id, String, nil?: true |
#type ⇒ Symbol, :"session.thinking.append"
The Live client event type. Always session.thinking.append.
27 |
# File 'lib/openai/models/live/thinking_append_event.rb', line 27 required :type, const: :"session.thinking.append" |
Instance Method Details
#to_hash ⇒ {
28 |
# File 'sig/openai/models/live/thinking_append_event.rbs', line 28
def to_hash: -> {
|