Class: OpenAI::Models::Beta::ChatKit::ChatKitThreadAssistantMessageItem
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Beta::ChatKit::ChatKitThreadAssistantMessageItem
- Defined in:
- lib/openai/models/beta/chatkit/chatkit_thread_assistant_message_item.rb
Instance Attribute Summary collapse
-
#content ⇒ Array<OpenAI::Models::Beta::ChatKit::ChatKitResponseOutputText>
Ordered assistant response segments.
-
#created_at ⇒ Integer
Unix timestamp (in seconds) for when the item was created.
-
#id ⇒ String
Identifier of the thread item.
-
#object ⇒ Symbol, :"chatkit.thread_item"
Type discriminator that is always ‘chatkit.thread_item`.
-
#thread_id ⇒ String
Identifier of the parent thread.
-
#type ⇒ Symbol, :"chatkit.assistant_message"
Type discriminator that is always ‘chatkit.assistant_message`.
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, 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
This class inherits a constructor from OpenAI::Internal::Type::BaseModel
Instance Attribute Details
#content ⇒ Array<OpenAI::Models::Beta::ChatKit::ChatKitResponseOutputText>
Ordered assistant response segments.
18 19 |
# File 'lib/openai/models/beta/chatkit/chatkit_thread_assistant_message_item.rb', line 18 required :content, -> { OpenAI::Internal::Type::ArrayOf[OpenAI::Beta::ChatKit::ChatKitResponseOutputText] } |
#created_at ⇒ Integer
Unix timestamp (in seconds) for when the item was created.
25 |
# File 'lib/openai/models/beta/chatkit/chatkit_thread_assistant_message_item.rb', line 25 required :created_at, Integer |
#id ⇒ String
Identifier of the thread item.
12 |
# File 'lib/openai/models/beta/chatkit/chatkit_thread_assistant_message_item.rb', line 12 required :id, String |
#object ⇒ Symbol, :"chatkit.thread_item"
Type discriminator that is always ‘chatkit.thread_item`.
31 |
# File 'lib/openai/models/beta/chatkit/chatkit_thread_assistant_message_item.rb', line 31 required :object, const: :"chatkit.thread_item" |
#thread_id ⇒ String
Identifier of the parent thread.
37 |
# File 'lib/openai/models/beta/chatkit/chatkit_thread_assistant_message_item.rb', line 37 required :thread_id, String |
#type ⇒ Symbol, :"chatkit.assistant_message"
Type discriminator that is always ‘chatkit.assistant_message`.
43 |
# File 'lib/openai/models/beta/chatkit/chatkit_thread_assistant_message_item.rb', line 43 required :type, const: :"chatkit.assistant_message" |