Google Cloud Bigtable is a key-value and wide-column store, ideal for fast access to structured, semi-structured, or unstructured data. Extend your database application to build AI-powered experiences leveraging Bigtableβs Langchain integrations.This notebook goes over how to use Google Cloud Bigtable to store chat message history with the
BigtableChatMessageHistory
class.
Learn more about the package on GitHub.
langchain-google-bigtable
package, so we need to install it.
gcloud config list
.gcloud projects list
.langchain
.
BigtableChatMessageHistory
class you need to provide only 3 things:
instance_id
- The Bigtable instance to use for chat message history.table_id
: The Bigtable table to store the chat message history.session_id
- A unique identifier string that specifies an id for the session.