[fix] fix typo s/muiti-node /multi-node etc. (#5448)

This commit is contained in:
digger yu
2024-04-07 18:42:15 +08:00
committed by GitHub
parent 15055f9a36
commit a799ca343b
10 changed files with 16 additions and 16 deletions

View File

@@ -59,7 +59,7 @@ class CustomRetriever(BaseRetriever):
Add documents to retriever
Args:
docs: the documents to add
cleanup: choose from "incremental" (update embeddings, skip existing embeddings) and "full" (destory and rebuild retriever)
cleanup: choose from "incremental" (update embeddings, skip existing embeddings) and "full" (destroy and rebuild retriever)
mode: choose from "by source" (documents are grouped by source) and "merge" (documents are merged into one vector store)
"""
if cleanup == "full":