Files
ragflow/conf/models/gitee.json
Jin Hai b18640d228 Go: fix OCR command (#14891)
### What problem does this PR solve?

RAGFlow(user)> ocr with 'hunyuanocr@test@gitee' file './picture.png'
+----------------------------------------------------------+
| text                                                     |
+----------------------------------------------------------+
| 生活不是等待风暴过去,而是学会在雨中翩翩起舞。

——佚名                                                       |
+----------------------------------------------------------+

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)

---------

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2026-05-13 17:29:53 +08:00

76 lines
1.2 KiB
JSON

{
"name": "Gitee",
"url": {
"default": "https://api.moark.com/v1"
},
"url_suffix": {
"chat": "chat/completions",
"models": "models",
"status": "",
"balance": "tokens/packages/balance",
"embedding": "embedding",
"rerank": "rerank",
"ocr": "images/ocr"
},
"models": [
{
"name": "qwen3-8b",
"max_tokens": 32768,
"model_types": [
"chat"
]
},
{
"name": "qwen3-0.6b",
"max_tokens": 32768,
"model_types": [
"chat"
]
},
{
"name": "glm-4.7-flash",
"max_tokens": 204800,
"model_types": [
"chat"
]
},
{
"name": "BAAI/bge-reranker-v2-m3",
"max_tokens": 8192,
"model_types": [
"rerank"
]
},
{
"name": "BAAI/bge-m3",
"max_tokens": 8192,
"model_types": [
"embedding"
]
},
{
"name": "GOT-OCR2_0",
"model_types": [
"ocr"
]
},
{
"name": "DeepSeek-OCR-2",
"model_types": [
"ocr"
]
},
{
"name": "PaddleOCR-VL-1.5",
"model_types": [
"ocr"
]
},
{
"name": "HunyuanOCR",
"model_types": [
"ocr"
]
}
]
}