Files
ragflow/conf/models/baidu.json
jay77721 47ecc2a231 feat: populate content_length and max_output from official docs (#17836)
## Summary

- Verify and populate `content_length` (context window) and `max_output`
(max generation tokens) for all **478 chat/vision models** across **47
provider configs**
- Data sourced from **official API documentation** via 12 parallel
agents + targeted web verification
- Update Go test assertions to match verified values

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-08-05 15:22:57 +08:00

109 lines
1.9 KiB
JSON

{
"name": "BaiduYiyan",
"url": {
"default": "https://qianfan.baidubce.com/v2"
},
"url_suffix": {
"chat": "chat/completions",
"models": "models",
"embedding": "embeddings",
"rerank": "rerank",
"ocr": "ocr/paddleocr"
},
"class": "baidu",
"models": [
{
"name": "deepseek-v3.2",
"content_length": 131072,
"max_output": 8192,
"model_types": [
"chat"
],
"tools": {
"support": true
}
},
{
"name": "deepseek-v4-flash",
"content_length": 1048576,
"max_output": 393216,
"model_types": [
"chat"
],
"thinking": {
"default_value": true,
"clear_thinking": true
},
"tools": {
"support": true
}
},
{
"name": "deepseek-v4-pro",
"content_length": 1048576,
"max_output": 393216,
"model_types": [
"chat"
],
"thinking": {
"default_value": true,
"clear_thinking": true
},
"tools": {
"support": true
}
},
{
"name": "qwen3-32b",
"content_length": 131072,
"max_output": 32768,
"model_types": [
"chat"
],
"tools": {
"support": true
}
},
{
"name": "qwen3-4b",
"content_length": 131072,
"max_output": 32768,
"model_types": [
"chat"
],
"tools": {
"support": true
}
},
{
"name": "ernie-5.0",
"content_length": 121856,
"max_output": 8192,
"model_types": [
"vision"
]
},
{
"name": "embedding-v1",
"max_tokens": 384,
"model_types": [
"embedding"
]
},
{
"name": "qwen3-reranker-4b",
"max_tokens": 32768,
"model_types": [
"rerank"
]
},
{
"name": "paddleocr-vl-0.9b",
"max_tokens": 8192,
"model_types": [
"ocr"
]
}
]
}