ragflow/rag/llm
Lynn 3d39b96c6f
Fix: token num exceed (#10046)
### What problem does this PR solve?

fix text input exceed token num limit when using siliconflow's embedding
model BAAI/bge-large-zh-v1.5 and BAAI/bge-large-en-v1.5, truncate before
input.

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2025-09-11 12:02:12 +08:00
..
__init__.py Fix: Ollama chat cannot access remote deployment (#9816) 2025-08-29 13:35:41 +08:00
chat_model.py Feat: add LongCat-Flash-Chat (#9973) 2025-09-08 19:00:52 +08:00
cv_model.py Refactor:Improve BytesIO usage for GeminiCV (#10042) 2025-09-11 11:07:15 +08:00
embedding_model.py Fix: token num exceed (#10046) 2025-09-11 12:02:12 +08:00
rerank_model.py Refactor: for total_token_count method use if to check first. (#9707) 2025-08-26 10:47:20 +08:00
sequence2txt_model.py Refa: OpenAI whisper-1 (#9552) 2025-08-19 16:41:18 +08:00
tts_model.py