mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-19 06:01:05 +08:00
### What problem does this PR solve? This PR implement implement provider and Mistral, DeepInfra, XunFei **The following functionalities are now supported:** **DeepInfra** - [x] chat / think chat / stream chat / stream think chat - [x] Embedding - [x] ASR - [x] TTS - [x] ListModels - [x] Provider connection checking - [x] Balance - [ ] ~~Rerank~~ **XunFei** - [x] chat / think chat / stream chat / stream think chat ### Type of change - [x] New Feature (non-breaking change which adds functionality) - [x] Refactoring
23 lines
389 B
JSON
23 lines
389 B
JSON
{
|
|
"name": "XunFei",
|
|
"url": {
|
|
"default": "https://"
|
|
},
|
|
"url_suffix": {
|
|
"chat": "spark-api-open.xf-yun.com/v2/chat/completions"
|
|
},
|
|
"class": "xunfei",
|
|
"models": [
|
|
{
|
|
"name": "spark-x",
|
|
"max_tokens": 134144,
|
|
"model_types": [
|
|
"chat"
|
|
],
|
|
"thinking": {
|
|
"default_value": true,
|
|
"clear_thinking": true
|
|
}
|
|
}
|
|
]
|
|
} |