Skip to main content

TiDB

TiDB is an open-source, cloud-native, distributed, MySQL-Compatible database for elastic scale and real-time analytics.

Installation and Setup​

We need to install the sqlalchemy Python package:

pip install sqlalchemy

Memory​

See a usage example.

from langchain_community.chat_message_histories import TiDBChatMessageHistory

Help us out by providing feedback on this documentation page: