Преглед изворни кода

Fix too long query exception. (#4729)

### What problem does this PR solve?


### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
tags/v0.16.0
Kevin Hu пре 8 месеци
родитељ
комит
6f2c3a3c3c
No account linked to committer's email address
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      rag/nlp/query.py

+ 1
- 1
rag/nlp/query.py Прегледај датотеку

@@ -185,7 +185,7 @@ class FulltextQueryer:
for s in syns
]
)
if syns:
if syns and tms:
tms = f"({tms})^5 OR ({syns})^0.7"

qs.append(tms)

Loading…
Откажи
Сачувај