This version is still in development and is not considered stable yet. For the latest snapshot version, please use Spring AI 1.0.0-SNAPSHOT!spring-doc.cn

Refer to the Dependency Management section to add the Spring AI BOM to your build file.
Refer to the Repositories section to add Milestone and/or Snapshot Repositories to your build file.
this is a breaking change! In earlier versions of Spring AI, this schema initialization happened by default.
Property Description Default value

spring.ai.vectorstore.redis.urispring-doc.cn

Server connection URIspring-doc.cn

redis://localhost:6379spring-doc.cn

spring.ai.vectorstore.redis.indexspring-doc.cn

Index namespring-doc.cn

default-indexspring-doc.cn

spring.ai.vectorstore.redis.initialize-schemaspring-doc.cn

Whether to initialize the required schemaspring-doc.cn

falsespring-doc.cn

spring.ai.vectorstore.redis.prefixspring-doc.cn

Prefixspring-doc.cn

default:spring-doc.cn

Refer to the Dependency Management section to add the Spring AI BOM to your build file.

It is more convenient and preferred to create the RedisVectorStore as a Bean. But if you decide to create it manually, then you must call the RedisVectorStore#afterPropertiesSet() after setting the properties and before using the client.spring-doc.cn

You must list explicitly all metadata field names and types (TAG, TEXT, or NUMERIC) for any metadata field used in filter expression. The withMetadataFields above registers filterable metadata fields: country of type TAG, year of type NUMERIC.spring-doc.cn