Skip to content

Commit 8fa688f

Browse files
hygltzolov
authored andcommitted
Update qdrant.adoc
Fixed java code.
1 parent d3f2a8f commit 8fa688f

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ List <Document> documents = List.of(
9090
new Document("You walk forward facing the past and you turn back toward the future.", Map.of("meta2", "meta2")));
9191
9292
// Add the documents to Qdrant
93-
vectorStore.add(List.of(document));
93+
vectorStore.add(documents);
9494
9595
// Retrieve documents similar to a query
9696
List<Document> results = vectorStore.similaritySearch(SearchRequest.query("Spring").withTopK(5));

0 commit comments

Comments
 (0)