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

Fix: empty query issue. (#5830)

### What problem does this PR solve?

#5214

### Type of change

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

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

@@ -66,7 +66,7 @@ class FulltextQueryer:
otxt = txt
for r, p in patts:
txt = re.sub(r, p, txt, flags=re.IGNORECASE)
if not otxt:
if not txt:
txt = otxt
return txt


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