OLLMchat.History
Description:
Chat history and session management namespace.
The OLLMchat.History namespace provides session persistence and management for chat conversations. Sessions can be stored in JSON files
or SQLite database, with automatic title generation and client state management.
Content:
Classes:
- EmptySession - EmptySession represents a
session that hasn't started yet (no messages sent).
- Manager - Manager for chat history
persistence.
- Session - Session is a wrapper around
Call.Chat that provides history persistence.
- SessionBase - Base class for
Session implementations.
- SessionJson - SessionJson is used only for
loading messages from JSON files.
- SessionList - Manages session list with
deduplication and fast lookup.
- SessionPlaceholder -
SessionPlaceholder represents a chat session loaded from the database but without the chat connected or messages loaded.
- TitleGenerator - Generates concise
titles for chat conversations using LLM.