Google AlloyDB for PostgreSQL
Google Cloud AlloyDB for PostgreSQL is a fully managed
PostgreSQL
compatible database service for your most demanding enterprise workloads.AlloyDB
combines the best ofGoogle Cloud
withPostgreSQL
, for superior performance, scale, and availability. Extend your database application to build AI-powered experiences leveragingAlloyDB
Langchain integrations.
This notebook goes over how to use Google Cloud AlloyDB for PostgreSQL
to store chat message history with the AlloyDBChatMessageHistory
class.
Learn more about the package on GitHub.
Before You Begin
To run this notebook, you will need to do the following:
- Create a Google Cloud Project
- Enable the AlloyDB API
- Create a AlloyDB instance
- Create a AlloyDB database
- Add an IAM database user to the database (Optional)