Class: OpenAI::Models::Beta::ChatKit::ChatSessionChatKitConfiguration
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Beta::ChatKit::ChatSessionChatKitConfiguration
- Defined in:
- lib/openai/models/beta/chatkit/chat_session_chatkit_configuration.rb,
sig/openai/models/beta/chatkit/chat_session_chatkit_configuration.rbs
Instance Attribute Summary collapse
-
#automatic_thread_titling ⇒ OpenAI::Beta::ChatKit::ChatSessionAutomaticThreadTitling
Automatic thread titling preferences.
-
#file_upload ⇒ OpenAI::Beta::ChatKit::ChatSessionFileUpload
Upload settings for the session.
-
#history ⇒ OpenAI::Beta::ChatKit::ChatSessionHistory
History retention configuration.
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
-
#initialize(automatic_thread_titling:, file_upload:, history:) ⇒ ChatSessionChatKitConfiguration
constructor
A new instance of ChatSessionChatKitConfiguration.
- #to_hash ⇒ { automatic_thread_titling: OpenAI::Beta::ChatKit::ChatSessionAutomaticThreadTitling, file_upload: OpenAI::Beta::ChatKit::ChatSessionFileUpload, history: OpenAI::Beta::ChatKit::ChatSessionHistory }
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_cached, coerce_with_error, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, resolve_type, 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(automatic_thread_titling:, file_upload:, history:) ⇒ ChatSessionChatKitConfiguration
Returns a new instance of ChatSessionChatKitConfiguration.
|
|
# File 'lib/openai/models/beta/chatkit/chat_session_chatkit_configuration.rb', line 26
|
Instance Attribute Details
#automatic_thread_titling ⇒ OpenAI::Beta::ChatKit::ChatSessionAutomaticThreadTitling
Automatic thread titling preferences.
12 |
# File 'lib/openai/models/beta/chatkit/chat_session_chatkit_configuration.rb', line 12 required :automatic_thread_titling, -> { OpenAI::Beta::ChatKit::ChatSessionAutomaticThreadTitling } |
#file_upload ⇒ OpenAI::Beta::ChatKit::ChatSessionFileUpload
Upload settings for the session.
18 |
# File 'lib/openai/models/beta/chatkit/chat_session_chatkit_configuration.rb', line 18 required :file_upload, -> { OpenAI::Beta::ChatKit::ChatSessionFileUpload } |
#history ⇒ OpenAI::Beta::ChatKit::ChatSessionHistory
History retention configuration.
24 |
# File 'lib/openai/models/beta/chatkit/chat_session_chatkit_configuration.rb', line 24 required :history, -> { OpenAI::Beta::ChatKit::ChatSessionHistory } |
Instance Method Details
#to_hash ⇒ { automatic_thread_titling: OpenAI::Beta::ChatKit::ChatSessionAutomaticThreadTitling, file_upload: OpenAI::Beta::ChatKit::ChatSessionFileUpload, history: OpenAI::Beta::ChatKit::ChatSessionHistory }
34 35 36 37 38 |
# File 'sig/openai/models/beta/chatkit/chat_session_chatkit_configuration.rbs', line 34
def to_hash: -> {
automatic_thread_titling: OpenAI::Beta::ChatKit::ChatSessionAutomaticThreadTitling,
file_upload: OpenAI::Beta::ChatKit::ChatSessionFileUpload,
history: OpenAI::Beta::ChatKit::ChatSessionHistory
}
|