mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-05-28 19:53:06 +08:00
### What problem does this PR solve? Implement embed for Tencent Hunyuan **Verified from CLI** ``` RAGFlow(user)> embed text 'what is rag' 'who are you' with 'hunyuan-embedding@test1@hunyuan' dimension 16; +-----------+-------+ | dimension | index | +-----------+-------+ | 1024 | 0 | | 1024 | 1 | +-----------+-------+ ``` ### Type of change - [x] New Feature (non-breaking change which adds functionality) - [x] Refactoring
33 lines
538 B
JSON
33 lines
538 B
JSON
{
|
|
"name": "PaddleOCR.Net",
|
|
"url": {
|
|
"default": "https://paddleocr.aistudio-app.com/api"
|
|
},
|
|
"url_suffix": {
|
|
"ocr": "v2/ocr/jobs"
|
|
},
|
|
"class": "paddleocr",
|
|
"models": [
|
|
{
|
|
"name": "PaddleOCR-VL-1.5",
|
|
"max_tokens": 16384,
|
|
"model_types": [
|
|
"ocr"
|
|
]
|
|
},
|
|
{
|
|
"name": "PP-OCRv5",
|
|
"max_tokens": 16384,
|
|
"model_types": [
|
|
"ocr"
|
|
]
|
|
},
|
|
{
|
|
"name": "PP-StructureV3",
|
|
"max_tokens": 16384,
|
|
"model_types": [
|
|
"ocr"
|
|
]
|
|
}
|
|
]
|
|
} |