Postgres
Upsert embedded data and perform similarity search upon query using pgvector on Postgres.
Last updated
Upsert embedded data and perform similarity search upon query using pgvector on Postgres.
Last updated
There are multiple methods to connect to Postgres based on how your instance is set up. Below is an example of a local configuration using a prebuilt Docker image provided by the pgvector team.
Create a file named docker-compose.yml
with the content below:
docker compose up
to start the Postgres container.
Create new credential with the configured user and password:
Fill in the node's field with values configured in docker-compose.yml
. For example:
Host: localhost
Database: api
Port: 5432
Voila! You have now successfully setup Postgres Vector ready to be used.