mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-03 01:01:56 +08:00
### What problem does this PR solve? Implement `HuggingFace` provider ### Type of change - [x] New Feature (non-breaking change which adds functionality)
21 lines
387 B
JSON
21 lines
387 B
JSON
{
|
|
"name": "HuggingFace",
|
|
"url": {
|
|
"default": "https://router.huggingface.co/v1/"
|
|
},
|
|
"url-suffix": {
|
|
"chat": "chat/completions",
|
|
"models": "models",
|
|
"embedding": "hf-inference/models"
|
|
},
|
|
"class": "huggingface",
|
|
"models": [
|
|
{
|
|
"name": "openai/gpt-oss-120b:fastest",
|
|
"max_tokens": 32768,
|
|
"model_types": [
|
|
"chat"
|
|
]
|
|
}
|
|
]
|
|
} |