Xata
Xata is a serverless data platform, based on
PostgreSQL
andElasticsearch
. It provides a Python SDK for interacting with your database, and a UI for managing your data. With theXataChatMessageHistory
class, you can use Xata databases for longer-term persistence of chat sessions.
This notebook covers:
- A simple example showing what
XataChatMessageHistory
does. - A more complex example using a REACT agent that answer questions based on a knowledge based or documentation (stored in Xata as a vector store) and also having a long-term searchable history of its past messages (stored in Xata as a memory store)