Merge pull request #1100 from pengjunfeng11/main
Update postgres_impl.py
This commit is contained in:
commit
15b817c0d6
1 changed files with 1 additions and 1 deletions
|
|
@ -1766,7 +1766,7 @@ SQL_TEMPLATES = {
|
||||||
FROM LIGHTRAG_DOC_CHUNKS
|
FROM LIGHTRAG_DOC_CHUNKS
|
||||||
where workspace=$1
|
where workspace=$1
|
||||||
AND id IN (SELECT chunk_id FROM relevant_chunks)
|
AND id IN (SELECT chunk_id FROM relevant_chunks)
|
||||||
)
|
) as chunk_distances
|
||||||
WHERE distance>$2
|
WHERE distance>$2
|
||||||
ORDER BY distance DESC
|
ORDER BY distance DESC
|
||||||
LIMIT $3
|
LIMIT $3
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue