Package org.springframework.ai.vectorstore.pgvector
@NonNullApi
@NonNullFields
package org.springframework.ai.vectorstore.pgvector
Provides the API for embedding observations.
-
ClassDescriptionConverts
Filter.Expression
into PgVector metadata filter expression format.Validates the schema of a PostgreSQL table used as a PGVectorStore.PostgreSQL-based vector store implementation using the pgvector extension.Defaults to CosineDistance.The ID type for the Pg vector store schema.By default, pgvector performs exact nearest neighbor search, which provides perfect recall.