ragflow/rag/nlp
Sol 0d7cfce6e1
Update rag/nlp/query.py (#7816)
### What problem does this PR solve?
Fix tokenizer resulting in low recall

![37743d3a495f734aa69f1e173fa77457](https://github.com/user-attachments/assets/1394757e-8fcb-4f87-96af-a92716144884)

![4aba633a17f34269a4e17e84fafb34c4](https://github.com/user-attachments/assets/a1828e32-3e17-4394-a633-ba3f09bd506d)

![image](https://github.com/user-attachments/assets/61308f32-2a4f-44d5-a034-d65bbec554ef)



### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
- [x] Refactoring

---------

Co-authored-by: Kevin Hu <kevinhu.sh@gmail.com>
2025-05-23 17:13:37 +08:00
..
__init__.py Fix: Improve First Chunk Size (#7806) 2025-05-23 14:30:19 +08:00
query.py Update rag/nlp/query.py (#7816) 2025-05-23 17:13:37 +08:00
rag_tokenizer.py Fix infinite recursion in RagTokenizer when processing repetitive characters (#6109) 2025-04-01 13:59:52 +08:00
search.py Feat: add image preview to retrieval test. (#7610) 2025-05-13 14:30:36 +08:00
surname.py Update info (#1005) 2024-05-31 09:53:04 +08:00
synonym.py Fix too many clause while searching. (#5119) 2025-02-19 13:18:39 +08:00
term_weight.py Fix errors detected by Ruff (#3918) 2024-12-08 14:21:12 +08:00