We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f5ed05 commit 656fa8bCopy full SHA for 656fa8b
spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs/chroma.adoc
@@ -98,7 +98,7 @@ List <Document> documents = List.of(
98
new Document("You walk forward facing the past and you turn back toward the future.", Map.of("meta2", "meta2")));
99
100
// Add the documents
101
-vectorStore.add(List.of(document));
+vectorStore.add(documents);
102
103
// Retrieve documents similar to a query
104
List<Document> results = vectorStore.similaritySearch(SearchRequest.query("Spring").withTopK(5));
0 commit comments