From 71854eef1c6c47a17ed89e12e9c02fb6861016e3 Mon Sep 17 00:00:00 2001 From: Yaner <26623948+yaner-here@users.noreply.github.com> Date: Sun, 19 Oct 2025 11:18:37 +0000 Subject: [PATCH] docs: clarify explicit opt-in for PgVector schema initialization Signed-off-by: Yaner <26623948+yaner-here@users.noreply.github.com> --- .../main/antora/modules/ROOT/pages/api/vectordbs/pgvector.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs/pgvector.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs/pgvector.adoc index 52261cac10c..f1a38f6ac20 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs/pgvector.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs/pgvector.adoc @@ -10,7 +10,7 @@ First you need access to PostgreSQL instance with enabled `vector`, `hstore` and 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 <> appendix shows how to set up a DB locally with a Docker container. -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. +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. Optionally, you can do this manually like so: