Class: OpenAI::Models::Beta::ChatKit::ChatSessionChatKitConfigurationParam::History
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Beta::ChatKit::ChatSessionChatKitConfigurationParam::History
- Defined in:
- lib/openai/models/beta/chatkit/chat_session_chatkit_configuration_param.rb
Overview
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean?
Enables chat users to access previous ChatKit threads.
-
#recent_threads ⇒ Integer?
Number of recent ChatKit threads users have access to.
Instance Method Summary collapse
-
#initialize(enabled: nil, recent_threads: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see History 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: nil, recent_threads: nil) ⇒ Object
Some parameter documentations has been truncated, see OpenAI::Models::Beta::ChatKit::ChatSessionChatKitConfigurationParam::History for more details.
Configuration for chat history retention. When omitted, history is enabled by default with no limit on recent_threads (null).
|
|
# File 'lib/openai/models/beta/chatkit/chat_session_chatkit_configuration_param.rb', line 109
|
Instance Attribute Details
#enabled ⇒ Boolean?
Enables chat users to access previous ChatKit threads. Defaults to true.
100 |
# File 'lib/openai/models/beta/chatkit/chat_session_chatkit_configuration_param.rb', line 100 optional :enabled, OpenAI::Internal::Type::Boolean |
#recent_threads ⇒ Integer?
Number of recent ChatKit threads users have access to. Defaults to unlimited when unset.
107 |
# File 'lib/openai/models/beta/chatkit/chat_session_chatkit_configuration_param.rb', line 107 optional :recent_threads, Integer |