Skip to content

Commit 7d6ebb4

Browse files
authored
doc: Remove duplicated dependency instructions in opensearch.adoc (#3712)
Fixes #3712 Auto-cherry-pick to 1.0.x Signed-off-by: Jemin Huh <[email protected]>
1 parent 9a52182 commit 7d6ebb4

File tree

1 file changed

+2
-20
lines changed
  • spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs

1 file changed

+2
-20
lines changed

spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs/opensearch.adoc

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -41,26 +41,8 @@ dependencies {
4141
}
4242
----
4343

44-
TIP: Refer to the xref:getting-started.adoc#dependency-management[Dependency Management] section to add the Spring AI BOM to your build file.
45-
46-
For Amazon OpenSearch Service, use these dependencies instead:
47-
48-
[source,xml]
49-
----
50-
<dependency>
51-
<groupId>org.springframework.ai</groupId>
52-
<artifactId>spring-ai-starter-vector-store-opensearch</artifactId>
53-
</dependency>
54-
----
55-
56-
or for Gradle:
57-
58-
[source,groovy]
59-
----
60-
dependencies {
61-
implementation 'org.springframework.ai:spring-ai-starter-vector-store-opensearch'
62-
}
63-
----
44+
TIP: For both self-hosted and Amazon OpenSearch Service, use the same dependency.
45+
Refer to the xref:getting-started.adoc#dependency-management[Dependency Management] section to add the Spring AI BOM to your build file.
6446

6547
Please have a look at the list of xref:#_configuration_properties[configuration parameters] for the vector store to learn about the default values and configuration options.
6648

0 commit comments

Comments
 (0)