Class: OpenAI::Models::Beta::ChatKit::ChatSessionHistory
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Beta::ChatKit::ChatSessionHistory
- Defined in:
- lib/openai/models/beta/chatkit/chat_session_history.rb
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean
Indicates if chat history is persisted for the session.
-
#recent_threads ⇒ Integer?
Number of prior threads surfaced in history views.
Instance Method Summary collapse
-
#initialize(enabled:, recent_threads:) ⇒ Object
constructor
Some parameter documentations has been truncated, see ChatSessionHistory 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(enabled:, recent_threads:) ⇒ Object
Some parameter documentations has been truncated, see OpenAI::Models::Beta::ChatKit::ChatSessionHistory for more details.
History retention preferences returned for the session.
|
|
# File 'lib/openai/models/beta/chatkit/chat_session_history.rb', line 21
|
Instance Attribute Details
#enabled ⇒ Boolean
Indicates if chat history is persisted for the session.
12 |
# File 'lib/openai/models/beta/chatkit/chat_session_history.rb', line 12 required :enabled, OpenAI::Internal::Type::Boolean |
#recent_threads ⇒ Integer?
Number of prior threads surfaced in history views. Defaults to null when all history is retained.
19 |
# File 'lib/openai/models/beta/chatkit/chat_session_history.rb', line 19 required :recent_threads, Integer, nil?: true |