Files
ragflow/conf/models/greenpt.json
Robert Keus 7e1ab9741b feat: add GreenPT model provider (#17447)
## Summary

GreenPT is a European AI provider with an OpenAI-compatible API,
optimized infrastructure, and datacenters powered by 100% renewable
energy.

This adds native GreenPT support across RAGFlow’s Go-first provider
system and its Python compatibility layer:

- discovers the current catalog from `GET /v1/models`
- features `glm-5.2` and `kimi-k2.7-code` for chat and coding
- supports `green-embedding` through `/v1/embeddings`
- supports `green-rerank` through `/v1/rerank`
- supports `green-s` and `green-s-pro` speech-to-text through
`/v1/listen`
- adds provider configuration, UI icon, and supported-provider
documentation
2026-07-28 19:19:00 +08:00

69 lines
1.1 KiB
JSON

{
"name": "GreenPT",
"url": {
"default": "https://api.greenpt.ai"
},
"url_suffix": {
"chat": "v1/chat/completions",
"models": "v1/models",
"embedding": "v1/embeddings",
"rerank": "v1/rerank",
"asr": "v1/listen"
},
"class": "greenpt",
"models": [
{
"name": "glm-5.2",
"max_tokens": 1000000,
"model_types": [
"chat"
],
"tools": {
"support": true
}
},
{
"name": "kimi-k2.7-code",
"max_tokens": 262144,
"model_types": [
"chat"
],
"tools": {
"support": true
}
},
{
"name": "green-embedding",
"max_tokens": 32768,
"max_dimension": 2560,
"dimensions": [
2560
],
"model_types": [
"embedding"
]
},
{
"name": "green-rerank",
"max_tokens": 32768,
"model_types": [
"rerank"
]
},
{
"name": "green-s",
"max_tokens": 0,
"model_types": [
"asr"
]
},
{
"name": "green-s-pro",
"max_tokens": 0,
"model_types": [
"asr"
]
}
]
}