diff --git a/docs/components/vectordbs/dbs/neon.mdx b/docs/components/vectordbs/dbs/neon.mdx index 65caa15e0..20c91a569 100644 --- a/docs/components/vectordbs/dbs/neon.mdx +++ b/docs/components/vectordbs/dbs/neon.mdx @@ -112,7 +112,7 @@ DATABASE_URL=postgresql://user:password@ep-example.us-east-2.aws.neon.tech/neond | `connection_string` | Neon Postgres connection string. | Required | | `collection_name` | Name for the vector collection. | `mem0` | | `embedding_model_dims` | Embedding model dimensions. | `1536` | -| `hnsw` | Enables HNSW indexing. | `True` | +| `hnsw` | Enables HNSW indexing. | `False` | | `sslmode` | PostgreSQL SSL mode. Use `require` for Neon. | Driver default | diff --git a/docs/components/vectordbs/dbs/pgvector.mdx b/docs/components/vectordbs/dbs/pgvector.mdx index c2ed55049..9f59d7ebb 100644 --- a/docs/components/vectordbs/dbs/pgvector.mdx +++ b/docs/components/vectordbs/dbs/pgvector.mdx @@ -79,8 +79,8 @@ Here are the parameters available for configuring pgvector: | `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) | `False` | -| `hnsw` | Whether to use hnsw for vector similarity search | `True` | +| `diskann` | Whether to use diskann for vector similarity search (requires pgvectorscale) | `True` | +| `hnsw` | Whether to use hnsw for vector similarity search | `False` | | `sslmode` | SSL mode for PostgreSQL connection (e.g., 'require', 'prefer', 'disable') | `None` | | `connection_string` | PostgreSQL connection string (overrides individual connection parameters) | `None` | | `connection_pool` | psycopg2 connection pool object (overrides connection string and individual parameters) | `None` |