PostgresVectorStore
class.
Class | Package | PY support | Package latest |
---|---|---|---|
PostgresVectorStore | @langchain/google-cloud-sql-pg |
✅ | 0.0.1 |
gcloud auth login
command.
gcloud config list
. * Run gcloud projects list
. * See the support
page: Locate the project
ID.
@langchain/google-cloud-sql-pg
package and then follow the steps
bellow.
First, you’ll need to log in to your Google Cloud account and set the
following environment variables based on your Google Cloud project;
these will be defined based on how you want to configure (fromInstance,
fromEngine, fromEngineArgs) your PostgresEngine instance :
.initialize()
method to
instantiate the vector store.