Skip to content

Commit

Permalink
feat: add ids to documents
Browse files Browse the repository at this point in the history
  • Loading branch information
JonBergland committed Jan 15, 2025
1 parent 8c6b8f7 commit 47d06be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules-engine/src/knowledge_base/agent/rag_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def __init__(self):
for i in range(0, 90, batch_size):
print(f"Batch: {i}")
batch = splits[i:i+batch_size]
self.parent_doc_retriever.add_documents(batch, ids=None)
self.parent_doc_retriever.add_documents(batch, ids=i)

#self.parent_doc_retriever.add_documents(splits, ids=None)

Expand Down

0 comments on commit 47d06be

Please sign in to comment.