Skip to content

Commit

Permalink
Update chroma docs (#1171)
Browse files Browse the repository at this point in the history
  • Loading branch information
jo-kim committed Aug 12, 2024
1 parent 9f5ed05 commit 656fa8b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ List <Document> documents = List.of(
new Document("You walk forward facing the past and you turn back toward the future.", Map.of("meta2", "meta2")));
// Add the documents
vectorStore.add(List.of(document));
vectorStore.add(documents);
// Retrieve documents similar to a query
List<Document> results = vectorStore.similaritySearch(SearchRequest.query("Spring").withTopK(5));
Expand Down

0 comments on commit 656fa8b

Please sign in to comment.