ragflow/rag
Bo Liu 321e9f3719
fix: stop rerank by model when search result is empty (#4203)
### What problem does this PR solve?


stop rerank by model when search result is empty, otherwise rerank may
raise an error (qwen).

### Type of change

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

Co-authored-by: 刘博 <liubo@ynby.cn>
2024-12-24 14:33:46 +08:00
..
app fix chunk method "Table" losing content when the Excel file has multi… (#4123) 2024-12-19 17:30:26 +08:00
llm Fix error of changing embedding model (#4184) 2024-12-23 16:23:54 +08:00
nlp fix: stop rerank by model when search result is empty (#4203) 2024-12-24 14:33:46 +08:00
res Format file format from Windows/dos to Unix (#1949) 2024-08-15 09:17:36 +08:00
svr Update progress time info (#4193) 2024-12-23 21:04:44 +08:00
utils Fix score() issue (#4194) 2024-12-23 21:01:20 +08:00
__init__.py Add back beartype (#3967) 2024-12-10 18:43:43 +08:00
benchmark.py Refactor embedding batch_size (#3825) 2024-12-03 16:22:39 +08:00
raptor.py Cache the result from llm for graphrag and raptor (#4051) 2024-12-17 09:48:03 +08:00
settings.py Update progress info and start welcome info (#3768) 2024-11-30 18:48:06 +08:00