Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

fix bug #7309 deepseek-ai/deepseek-vl2 model can not be select as a VL model to parse pdf image (#7312)

QuintinTaoe9053b6ed461
diff --git a/conf/llm_factories.json b/conf/llm_factories.json
index c7f5907e41..76e99d6f96 100644
--- a/conf/llm_factories.json
+++ b/conf/llm_factories.json
@@ -2555,9 +2555,9 @@
},
{
"llm_name": "deepseek-ai/deepseek-vl2",
- "tags": "LLM,CHAT,4k",
+ "tags": "LLM,IMAGE2TEXT,4k",
"max_tokens": 4096,
- "model_type": "chat"
+ "model_type": "image2text"
},
{
"llm_name": "deepseek-ai/Janus-Pro-7B",
@@ -2571,6 +2571,36 @@
"max_tokens": 32768,
"model_type": "image2text"
},
+ {
+ "llm_name": "Qwen/Qwen2.5-VL-72B-Instruct",
+ "tags": "LLM,IMAGE2TEXT,128k",
+ "max_tokens": 131072,
+ "model_type": "image2text"
+ },
+ {
+ "llm_name": "Qwen/Qwen2.5-VL-32B-Instruct",
+ "tags": "LLM,IMAGE2TEXT,128k",
+ "max_tokens": 131072,
+ "model_type": "image2text"
+ },
+ {
+ "llm_name": "Pro/Qwen/Qwen2.5-VL-7B-Instruct",
+ "tags": "LLM,IMAGE2TEXT,32k",
+ "max_tokens": 32768,
+ "model_type": "image2text"
+ },
+ {
+ "llm_name": "Qwen/Qwen2-VL-72B-Instruct",
+ "tags": "LLM,IMAGE2TEXT,32k",
+ "max_tokens": 32768,
+ "model_type": "image2text"
+ },
+ {
+ "llm_name": "Pro/Qwen/Qwen2-VL-7B-Instruct",
+ "tags": "LLM,IMAGE2TEXT,32k",
+ "max_tokens": 32768,
+ "model_type": "image2text"
+ },
{
"llm_name": "FunAudioLLM/CosyVoice2-0.5B",
"tags": "LLM,TTS,32k",