Couchbase
Couchbase is an award-winning distributed NoSQL cloud database that delivers unmatched versatility, performance, scalability, and financial value for all of your cloud, mobile, AI, and edge computing applications. Couchbase embraces AI with coding assistance for developers and vector search for their applications.
This notebook goes over how to use the CouchbaseChatMessageHistory
class to store the chat message history in a Couchbase cluster
Set Up Couchbase Cluster
To run this demo, you need a Couchbase Cluster.
You can work with both Couchbase Capella and your self-managed Couchbase Server.
Install Dependencies
CouchbaseChatMessageHistory
lives inside the langchain-couchbase
package.
%pip install --upgrade --quiet langchain-couchbase
Note: you may need to restart the kernel to use updated packages.