You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Where instead of calling .builder() it calls the .build() method twice: List<Document> results = vectorStore.similaritySearch(SearchRequest.build().query("Spring").topK(5).build());
It should like the following instead: List<Document> results = vectorStore.similaritySearch(SearchRequest.builder().query("Spring").topK(5).build());
The text was updated successfully, but these errors were encountered:
Trivial typo in:
spring-ai/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs/opensearch.adoc
Line 80 in ff287a5
Where instead of calling
.builder()
it calls the.build()
method twice:List<Document> results = vectorStore.similaritySearch(SearchRequest.build().query("Spring").topK(5).build());
It should like the following instead:
List<Document> results = vectorStore.similaritySearch(SearchRequest.builder().query("Spring").topK(5).build());
The text was updated successfully, but these errors were encountered: