Feat: Add qwq model support to Tongyi-Qianwen factory (#5981)

### What problem does this PR solve?

add qwq model support to Tongyi-Qianwen factory
https://github.com/infiniflow/ragflow/issues/5869

### Type of change

- [x] New Feature (non-breaking change which adds functionality)


![image](https://github.com/user-attachments/assets/49f5c6a0-ecaf-41dd-a23a-2009f854d62c)


![image](https://github.com/user-attachments/assets/93ffa303-920e-4942-8188-bcd6b7209204)


![1741774779438](https://github.com/user-attachments/assets/25f2fd1d-8640-4df0-9a08-78ee9daaa8fe)


![image](https://github.com/user-attachments/assets/4763cf6c-1f76-43c4-80ee-74dfd666a184)

Co-authored-by: zhaozhicheng <zhicheng.zhao@fastonetech.com>
This commit is contained in:
kuro5989
2025-03-12 18:54:15 +08:00
committed by GitHub
parent c57f16d16f
commit 6e13922bdc
2 changed files with 25 additions and 5 deletions

View File

@ -134,6 +134,18 @@
"max_tokens": 32768,
"model_type": "chat"
},
{
"llm_name": "qwq-32b",
"tags": "LLM,CHAT,128k",
"max_tokens": 131072,
"model_type": "chat"
},
{
"llm_name": "qwq-plus",
"tags": "LLM,CHAT,128k",
"max_tokens": 131072,
"model_type": "chat"
},
{
"llm_name": "qwen-long",
"tags": "LLM,CHAT,10000K",
@ -3259,7 +3271,7 @@
"tags": "TEXT EMBEDDING,32000",
"max_tokens": 32000,
"model_type": "embedding"
},
},
{
"llm_name": "rerank-1",
"tags": "RE-RANK, 8000",