Represents a chat message history stored in a TiDB database.
Chat message history backed by Google Firestore.
Chat message history cache that uses Momento as a backend.
See https://gomomento.com/
Scope for the document search. Messages or Summaries?
Enumerator of the types of search to perform.
Chat message history that uses Zep as a backend.
Recommended usage::
# Set up Zep Chat History
zep_chat_history = ZepChatMessageHistory(
session_id=session_id,
url=ZEP_API_UR
Chat message history that is backed by Cassandra.
Chat message history that stores history in a local file.
Chat message history stored in a Xata database.
Chat message history that stores messages in Streamlit session state.
Chat message history stored in an Upstash Redis database.
Chat message history stored in a Neo4j database.
Convert BaseMessage to the SQLAlchemy model.
The default message converter for SQLChatMessageHistory.
Chat message history stored in an SQL database.
Consume start position for Kafka consumer to get chat history messages. LAST_CONSUMED: Continue from the last consumed offset. EARLIEST: Start consuming from the beginning. LATEST: Start consuming fro
Chat message history stored in Kafka.
Chat message history that uses Zep Cloud as a backend.
Recommended usage::
# Set up Zep Chat History
zep_chat_history = ZepChatMessageHistory(
session_id=session_id,
api_key=
Uses Rockset to store chat messages.
To use, ensure that the rockset python package installed.
Chat message history stored in a Redis database.
Chat message history that stores history in AWS DynamoDB.
This class expects that a DynamoDB table exists with name table_name
Chat message history backed by Azure CosmosDB.
Chat message history that stores history in Elasticsearch.
Chat message history stored in a SingleStoreDB database.
Chat message history stored in a Postgres database.
DEPRECATED: This class is deprecated and will be removed in a future version.
Use the PostgresChatMessageHistory implementation in `langchai
Create a message model for a given table name.
Create topic if it doesn't exist, and return the number of partitions. If the topic already exists, we don't change the topic configuration.
Condense Zep memory into a human message.
Get the Zep role type from the role string.