Skip to content

Commit 6854e3e

Browse files
yaner-hereericbottard
authored andcommitted
docs: clarify explicit opt-in for PgVector schema initialization
Signed-off-by: Yaner <[email protected]>
1 parent e81cd08 commit 6854e3e

File tree

1 file changed

+1
-1
lines changed
  • spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs

1 file changed

+1
-1
lines changed

spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs/pgvector.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ First you need access to PostgreSQL instance with enabled `vector`, `hstore` and
1010

1111
TIP: You can run a PGvector database as a Spring Boot dev service via xref:api/docker-compose.adoc[Docker Compose] or xref:api/testcontainers.adoc[Testcontainers]. In alternative, the <<Run Postgres & PGVector DB locally,setup local Postgres/PGVector>> appendix shows how to set up a DB locally with a Docker container.
1212

13-
On startup, the `PgVectorStore` will attempt to install the required database extensions and create the required `vector_store` table with an index if not existing.
13+
On startup with the schema initialization feature explicitly enabled, the `PgVectorStore` will attempt to install the required database extensions and create the required `vector_store` table with an index if not existing.
1414

1515
Optionally, you can do this manually like so:
1616

0 commit comments

Comments
 (0)