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.
Check the list of configuration parameters to learn about the default values and configuration options.
Refer to the Dependency Management section to add the Spring AI BOM to your build file.
Property Description Default value

spring.ai.vectorstore.opensearch.urisspring-doc.cn

URIs of the OpenSearch cluster endpoints.spring-doc.cn

-spring-doc.cn

spring.ai.vectorstore.opensearch.usernamespring-doc.cn

Username for accessing the OpenSearch cluster.spring-doc.cn

-spring-doc.cn

spring.ai.vectorstore.opensearch.passwordspring-doc.cn

Password for the specified username.spring-doc.cn

-spring-doc.cn

spring.ai.vectorstore.opensearch.indexNamespring-doc.cn

Name of the default index to be used within the OpenSearch cluster.spring-doc.cn

spring-ai-document-indexspring-doc.cn

spring.ai.vectorstore.opensearch.mappingJsonspring-doc.cn

JSON string defining the mapping for the index; specifies how documents and their fields are stored and indexed.spring-doc.cn

{ "properties":{ "embedding":{ "type":"knn_vector", "dimension":1536 } } }spring-doc.cn

spring.opensearch.aws.hostspring-doc.cn

Hostname of the OpenSearch instance.spring-doc.cn

-spring-doc.cn

spring.opensearch.aws.service-namespring-doc.cn

AWS service name for the OpenSearch instance.spring-doc.cn

-spring-doc.cn

spring.opensearch.aws.access-keyspring-doc.cn

AWS access key for the OpenSearch instance.spring-doc.cn

-spring-doc.cn

spring.opensearch.aws.secret-keyspring-doc.cn

AWS secret key for the OpenSearch instance.spring-doc.cn

-spring-doc.cn

spring.opensearch.aws.regionspring-doc.cn

AWS region for the OpenSearch instance.spring-doc.cn

-spring-doc.cn

Those (portable) filter expressions get automatically converted into the proprietary OpenSearch Query string query.