Merge pull request #1100 from pengjunfeng11/main

Update postgres_impl.py
This commit is contained in:
zrguo
2025-03-17 17:24:29 +08:00
committed by GitHub

View File

@@ -1766,7 +1766,7 @@ SQL_TEMPLATES = {
FROM LIGHTRAG_DOC_CHUNKS
where workspace=$1
AND id IN (SELECT chunk_id FROM relevant_chunks)
)
) as chunk_distances
WHERE distance>$2
ORDER BY distance DESC
LIMIT $3