Skip to content

docs: Misleading documentation regarding VectorStore schema initialization #4668

@yaner-here

Description

@yaner-here

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.

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.

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions