-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Description
The latest documentation says that initialization behavior must be explicitly declared to execute, however, it still contains outdated references to older versions of Spring AI. Both of them exist at the same time.
spring-ai/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs/pgvector.adoc
Line 13 in 3bfa232
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. |
spring-ai/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs/pgvector.adoc
Line 64 in 3bfa232
The vector store implementation can initialize the required schema for you, but you must opt-in by specifying the `initializeSchema` boolean in the appropriate constructor or by setting `...initialize-schema=true` in the `application.properties` file. |