Class: OpenAI::Models::Beta::ChatKit::ChatKitThread
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Beta::ChatKit::ChatKitThread
- Defined in:
- lib/openai/models/beta/chatkit/chatkit_thread.rb
Overview
Defined Under Namespace
Modules: Status
Instance Attribute Summary collapse
-
#created_at ⇒ Integer
Unix timestamp (in seconds) for when the thread was created.
-
#id ⇒ String
Identifier of the thread.
-
#object ⇒ Symbol, :"chatkit.thread"
Type discriminator that is always ‘chatkit.thread`.
-
#status ⇒ OpenAI::Models::Beta::ChatKit::ChatKitThread::Status::Active, ...
Current status for the thread.
-
#title ⇒ String?
Optional human-readable title for the thread.
-
#user ⇒ String
Free-form string that identifies your end user who owns the thread.
Instance Method Summary collapse
-
#initialize(id:, created_at:, status:, title:, user:, object: :"chatkit.thread") ⇒ Object
constructor
Some parameter documentations has been truncated, see ChatKitThread for more details.
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(id:, created_at:, status:, title:, user:, object: :"chatkit.thread") ⇒ Object
Some parameter documentations has been truncated, see OpenAI::Models::Beta::ChatKit::ChatKitThread for more details.
Represents a ChatKit thread and its current status.
|
|
# File 'lib/openai/models/beta/chatkit/chatkit_thread.rb', line 46
|
Instance Attribute Details
#created_at ⇒ Integer
Unix timestamp (in seconds) for when the thread was created.
19 |
# File 'lib/openai/models/beta/chatkit/chatkit_thread.rb', line 19 required :created_at, Integer |
#id ⇒ String
Identifier of the thread.
13 |
# File 'lib/openai/models/beta/chatkit/chatkit_thread.rb', line 13 required :id, String |
#object ⇒ Symbol, :"chatkit.thread"
Type discriminator that is always ‘chatkit.thread`.
25 |
# File 'lib/openai/models/beta/chatkit/chatkit_thread.rb', line 25 required :object, const: :"chatkit.thread" |
#status ⇒ OpenAI::Models::Beta::ChatKit::ChatKitThread::Status::Active, ...
Current status for the thread. Defaults to ‘active` for newly created threads.
31 |
# File 'lib/openai/models/beta/chatkit/chatkit_thread.rb', line 31 required :status, union: -> { OpenAI::Beta::ChatKit::ChatKitThread::Status } |
#title ⇒ String?
Optional human-readable title for the thread. Defaults to null when no title has been generated.
38 |
# File 'lib/openai/models/beta/chatkit/chatkit_thread.rb', line 38 required :title, String, nil?: true |
#user ⇒ String
Free-form string that identifies your end user who owns the thread.
44 |
# File 'lib/openai/models/beta/chatkit/chatkit_thread.rb', line 44 required :user, String |