refactor: remove unnecessary comment (#8949)

This commit is contained in:
omr 2024-10-01 10:14:49 +09:00 committed by GitHub
parent 0d84221b2c
commit 2deaece7e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -44,7 +44,6 @@ class DatasetIndexToolCallbackHandler:
DocumentSegment.index_node_id == document.metadata["doc_id"]
)
# if 'dataset_id' in document.metadata:
if "dataset_id" in document.metadata:
query = query.filter(DocumentSegment.dataset_id == document.metadata["dataset_id"])