ragflow/rag/llm
Stephen Hu fb77f9917b
Refactor: Use Input Length In DefaultRerank (#9516)
### What problem does this PR solve?

1. Use input length to prepare res
2. Adjust torch_empty_cache code location

### Type of change

- [x] Refactoring
- [x] Performance Improvement
2025-08-18 10:00:27 +08:00
..
__init__.py Refa: migrate chat models to LiteLLM (#9394) 2025-08-12 10:59:20 +08:00
chat_model.py Fix: Patch LiteLLM (#9416) 2025-08-12 15:54:30 +08:00
cv_model.py fix: preserve correct MIME & unify data URL handling for vision inputs (relates #9248) (#9474) 2025-08-14 17:00:56 +08:00
embedding_model.py Add **kwargs to model base class constructors (#9252) 2025-08-07 09:45:37 +08:00
rerank_model.py Refactor: Use Input Length In DefaultRerank (#9516) 2025-08-18 10:00:27 +08:00
sequence2txt_model.py Add **kwargs to model base class constructors (#9252) 2025-08-07 09:45:37 +08:00
tts_model.py Add **kwargs to model base class constructors (#9252) 2025-08-07 09:45:37 +08:00