diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs/opensearch.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs/opensearch.adoc index 84bf23db101..f3040ea7497 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs/opensearch.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs/opensearch.adoc @@ -40,20 +40,27 @@ TIP: Refer to the xref:getting-started.adoc#dependency-management[Dependency Man To connect to OpenSearch and use the `OpenSearchVectorStore`, you need to provide access details for your instance. A simple configuration can either be provided via Spring Boot's `application.yml`, + [source,yaml] ---- spring: - opensearch: - uris: - username: - password: - indexName: - mappingJson: -# API key if needed, e.g. OpenAI ai: + vectorstore: + opensearch: + uris: + username: + password: + indexName: + mappingJson: + aws: + host: + serviceName: + accessKey: + secretKey: + region: +# API key if needed, e.g. OpenAI openai: - api: - key: + apiKey: ---- TIP: Check the list of xref:#_configuration_properties[configuration parameters] to learn about the default values and configuration options. @@ -134,11 +141,11 @@ fields are stored and indexed. | } } } -|`spring.opensearch.aws.host`| Hostname of the OpenSearch instance. | - -|`spring.opensearch.aws.service-name`| AWS service name for the OpenSearch instance. | - -|`spring.opensearch.aws.access-key`| AWS access key for the OpenSearch instance. | - -|`spring.opensearch.aws.secret-key`| AWS secret key for the OpenSearch instance. | - -|`spring.opensearch.aws.region`| AWS region for the OpenSearch instance. | - +|`spring.ai.vectorstore.opensearch.aws.host`| Hostname of the OpenSearch instance. | - +|`spring.ai.vectorstore.opensearch.aws.serviceName`| AWS service name for the OpenSearch instance. | - +|`spring.ai.vectorstore.opensearch.aws.accessKey`| AWS access key for the OpenSearch instance. | - +|`spring.ai.vectorstore.opensearch.aws.secretKey`| AWS secret key for the OpenSearch instance. | - +|`spring.ai.vectorstore.opensearch.aws.region`| AWS region for the OpenSearch instance. | - |=== === Customizing OpenSearch Client Configuration