Skip to content

Commit b6016a7

Browse files
authored
Update tidb_graph_store.py
1 parent ceda0f5 commit b6016a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/app/rag/indices/knowledge_graph/graph_store/tidb_graph_store.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1081,7 +1081,7 @@ def get_chunks_by_relationships(
10811081
if rel.meta.get("chunk_id") is not None
10821082
}
10831083

1084-
if not chunk_ids:
1084+
if chunk_ids:
10851085
# Query chunks
10861086
chunks = session.exec(
10871087
select(self._chunk_model).where(self._chunk_model.id.in_(chunk_ids))

0 commit comments

Comments
 (0)