mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-05-28 19:53:06 +08:00
### What problem does this PR solve? Go: implement provider: PaddleOCR_Local **Verified from CLI** ``` RAGFlow(user)> ocr with 'PaddleOCR-VL@test@paddleocr_local' file './internal/test1.jpg' +----------------------+ | text | +----------------------+ | ## Parallel to these | +----------------------+ ``` ### Type of change - [X] Bug Fix (non-breaking change which fixes an issue) - [X] New Feature (non-breaking change which adds functionality) - [X] Refactoring
85 lines
1.4 KiB
JSON
85 lines
1.4 KiB
JSON
{
|
|
"name": "Gitee",
|
|
"url": {
|
|
"default": "https://api.moark.com/v1"
|
|
},
|
|
"url_suffix": {
|
|
"chat": "chat/completions",
|
|
"models": "models",
|
|
"status": "",
|
|
"balance": "tokens/packages/balance",
|
|
"embedding": "embeddings",
|
|
"rerank": "rerank",
|
|
"ocr": "images/ocr",
|
|
"doc_parse": "async/documents/parse",
|
|
"tasks": "tasks",
|
|
"task": "task"
|
|
},
|
|
"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"
|
|
]
|
|
},
|
|
{
|
|
"name": "MinerU2.5",
|
|
"model_types": [
|
|
"doc_parse"
|
|
]
|
|
}
|
|
]
|
|
} |