Skip to content

Commit

Permalink
feat: reduce batch size when adding docs to 5
Browse files Browse the repository at this point in the history
  • Loading branch information
gventuri committed Oct 15, 2024
1 parent 19d01f8 commit 5bd5032
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/app/vectorstore/chroma.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def add_docs(
docs: Iterable[str],
ids: Optional[Iterable[str]] = None,
metadatas: Optional[List[dict]] = None,
batch_size=50,
batch_size=5,
) -> List[str]:
"""
Add docs to the training set
Expand Down

0 comments on commit 5bd5032

Please sign in to comment.