Files
ragflow/conf/models/xunfei.json
Haruko386 92145dc764 Go: implement provider: DeepInfra, XunFei (#14978)
### 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
2026-05-18 16:57:42 +08:00

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
}
}
]
}