mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-06-29 23:41:12 +08:00
### What problem does this PR solve? Implements the Xiaomi MiMo chat provider for the Go model provider layer. Reference issue: #14736 Official docs used: - Xiaomi MiMo OpenAI-compatible chat API: https://platform.xiaomimimo.com/docs/en-US/api/chat/openai-api - Xiaomi MiMo model and rate limits: https://platform.xiaomimimo.com/docs/en-US/quick-start/model - Xiaomi MiMo model hyperparameters: https://platform.xiaomimimo.com/docs/en-US/quick-start/model-hyperparameters
35 lines
549 B
JSON
35 lines
549 B
JSON
{
|
|
"name": "Xiaomi",
|
|
"url": {
|
|
"default": "https://api.xiaomimimo.com"
|
|
},
|
|
"url_suffix": {
|
|
"chat": "v1/chat/completions"
|
|
},
|
|
"class": "xiaomi",
|
|
"models": [
|
|
{
|
|
"name": "mimo-v2.5-pro",
|
|
"max_tokens": 1048576,
|
|
"model_types": [
|
|
"chat"
|
|
]
|
|
},
|
|
{
|
|
"name": "mimo-v2.5",
|
|
"max_tokens": 1048576,
|
|
"model_types": [
|
|
"chat",
|
|
"vision"
|
|
]
|
|
},
|
|
{
|
|
"name": "mimo-v2-flash",
|
|
"max_tokens": 262144,
|
|
"model_types": [
|
|
"chat"
|
|
]
|
|
}
|
|
]
|
|
}
|