Uses of Class
org.springframework.ai.vectorstore.redis.RedisVectorStore.Builder
-
Uses of RedisVectorStore.Builder in org.springframework.ai.vectorstore.redis
Methods in org.springframework.ai.vectorstore.redis that return RedisVectorStore.BuilderModifier and TypeMethodDescriptionstatic RedisVectorStore.BuilderRedisVectorStore.builder(redis.clients.jedis.JedisPooled jedis, org.springframework.ai.embedding.EmbeddingModel embeddingModel) RedisVectorStore.Builder.contentFieldName(String fieldName) Sets the Redis content field name.RedisVectorStore.Builder.embeddingFieldName(String fieldName) Sets the Redis embedding field name.Sets the Redis index name.RedisVectorStore.Builder.initializeSchema(boolean initializeSchema) Sets whether to initialize the schema.RedisVectorStore.Builder.metadataFields(List<RedisVectorStore.MetadataField> fields) Sets the metadata fields.RedisVectorStore.Builder.metadataFields(RedisVectorStore.MetadataField... fields) Sets the metadata fields.Sets the Redis key prefix (default: "embedding:").RedisVectorStore.Builder.vectorAlgorithm(RedisVectorStore.Algorithm algorithm) Sets the Redis vector algorithm.Constructors in org.springframework.ai.vectorstore.redis with parameters of type RedisVectorStore.Builder