class

OpenAI::ChatSessionHistory

Inherits JSON::Serializable < Reference < Object

History retention preferences returned for the session.

Constructors

new(enabled : Bool = false, recent_threads : ChatSessionHistoryRecentThreads = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

enabled

Indicates if chat history is persisted for the session.

Source
enabled=(enabled : Bool)

Indicates if chat history is persisted for the session.

Source
recent_threads
Source
recent_threads=(recent_threads : ChatSessionHistoryRecentThreads)
Source