CREATE EXTENSION IF NOT EXISTS vector;
to create the vector extension.
Parameter | Description | Default Value |
---|---|---|
dbname | The name of the | postgres |
collection_name | The name of the collection | zentry |
embedding_model_dims | Dimensions of the embedding model | 1536 |
user | User name to connect to the database | None |
password | Password to connect to the database | None |
host | The host where the Postgres server is running | None |
port | The port where the Postgres server is running | None |
diskann | Whether to use diskann for vector similarity search (requires pgvectorscale) | True |
hnsw | Whether to use hnsw for vector similarity search | False |