mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-03 22:30:31 +08:00
### What problem does this PR solve? ``` RAGFlow(user)> list models from 'zhipu-ai'; +------------+------------+---------------+----------------+ | features | max_tokens | model_types | name | +------------+------------+---------------+----------------+ | [thinking] | 128000 | [chat] | glm-4.7 | | [thinking] | 128000 | [chat] | glm-4.5 | | [thinking] | 128000 | [chat vision] | glm-4.6v-Flash | | [thinking] | 128000 | [chat] | glm-4.5-x | | [thinking] | 128000 | [chat] | glm-4.5-air | | [thinking] | 128000 | [chat] | glm-4.5-airx | | [thinking] | 128000 | [chat] | glm-4.5-flash | | [thinking] | 64000 | [vision] | glm-4.5v | | | 128000 | [chat] | glm-4-plus | | | 128000 | [chat] | glm-4-0520 | | | 128000 | [chat] | glm-4 | | | 8000 | [chat] | glm-4-airx | | | 128000 | [chat] | glm-4-air | | | 128000 | [chat] | glm-4-flash | | | 128000 | [chat] | glm-4-flashx | | | 1000000 | [chat] | glm-4-long | | | 128000 | [chat] | glm-3-turbo | | | 2000 | [vision] | glm-4v | | | 8192 | [chat] | glm-4-9b | | | 512 | [embedding] | embedding-2 | | | 512 | [embedding] | embedding-3 | | | 4096 | [asr] | glm-asr | | | 0 | [tts] | glm-tts | | | 0 | [ocr] | glm-ocr | | | 0 | [rerank] | glm-rerank | +------------+------------+---------------+----------------+ ``` ### Type of change - [x] New Feature (non-breaking change which adds functionality) Signed-off-by: Jin Hai <haijin.chn@gmail.com>
231 lines
3.9 KiB
JSON
231 lines
3.9 KiB
JSON
{
|
|
"name": "ZHIPU-AI",
|
|
"url": {
|
|
"default": "https://open.bigmodel.cn/api/paas/v4"
|
|
},
|
|
"url_suffix": {
|
|
"chat": "chat/completions",
|
|
"async_chat": "async/chat/completions",
|
|
"async_result": "async-result",
|
|
"embedding": "embedding",
|
|
"rerank": "rerank"
|
|
},
|
|
"models": [
|
|
{
|
|
"name": "glm-4.7",
|
|
"max_tokens": 128000,
|
|
"model_types": [
|
|
"chat"
|
|
],
|
|
"features": {}
|
|
},
|
|
{
|
|
"name": "glm-4.5",
|
|
"max_tokens": 128000,
|
|
"model_types": [
|
|
"chat"
|
|
],
|
|
"features": {}
|
|
},
|
|
{
|
|
"name": "glm-4.6v-Flash",
|
|
"max_tokens": 128000,
|
|
"model_types": [
|
|
"chat",
|
|
"vision"
|
|
],
|
|
"features": {}
|
|
},
|
|
{
|
|
"name": "glm-4.5-x",
|
|
"max_tokens": 128000,
|
|
"model_types": [
|
|
"chat"
|
|
],
|
|
"features": {}
|
|
},
|
|
{
|
|
"name": "glm-4.5-air",
|
|
"max_tokens": 128000,
|
|
"model_types": [
|
|
"chat"
|
|
],
|
|
"features": {}
|
|
},
|
|
{
|
|
"name": "glm-4.5-airx",
|
|
"max_tokens": 128000,
|
|
"model_types": [
|
|
"chat"
|
|
],
|
|
"features": {}
|
|
},
|
|
{
|
|
"name": "glm-4.5-flash",
|
|
"max_tokens": 128000,
|
|
"model_types": [
|
|
"chat"
|
|
],
|
|
"features": {}
|
|
},
|
|
{
|
|
"name": "glm-4.5v",
|
|
"max_tokens": 64000,
|
|
"model_types": [
|
|
"vision"
|
|
],
|
|
"features": {}
|
|
},
|
|
{
|
|
"name": "glm-4-plus",
|
|
"max_tokens": 128000,
|
|
"model_types": [
|
|
"chat"
|
|
],
|
|
"features": {}
|
|
},
|
|
{
|
|
"name": "glm-4-0520",
|
|
"max_tokens": 128000,
|
|
"model_types": [
|
|
"chat"
|
|
],
|
|
"features": {}
|
|
},
|
|
{
|
|
"name": "glm-4",
|
|
"max_tokens": 128000,
|
|
"model_types": [
|
|
"chat"
|
|
],
|
|
"features": {}
|
|
},
|
|
{
|
|
"name": "glm-4-airx",
|
|
"max_tokens": 8000,
|
|
"model_types": [
|
|
"chat"
|
|
],
|
|
"features": {}
|
|
},
|
|
{
|
|
"name": "glm-4-air",
|
|
"max_tokens": 128000,
|
|
"model_types": [
|
|
"chat"
|
|
],
|
|
"features": {}
|
|
},
|
|
{
|
|
"name": "glm-4-flash",
|
|
"max_tokens": 128000,
|
|
"model_types": [
|
|
"chat"
|
|
],
|
|
"features": {}
|
|
},
|
|
{
|
|
"name": "glm-4-flashx",
|
|
"max_tokens": 128000,
|
|
"model_types": [
|
|
"chat"
|
|
],
|
|
"features": {}
|
|
},
|
|
{
|
|
"name": "glm-4-long",
|
|
"max_tokens": 1000000,
|
|
"model_types": [
|
|
"chat"
|
|
],
|
|
"features": {}
|
|
},
|
|
{
|
|
"name": "glm-3-turbo",
|
|
"max_tokens": 128000,
|
|
"model_types": [
|
|
"chat"
|
|
],
|
|
"features": {}
|
|
},
|
|
{
|
|
"name": "glm-4v",
|
|
"max_tokens": 2000,
|
|
"model_types": [
|
|
"vision"
|
|
],
|
|
"features": {}
|
|
},
|
|
{
|
|
"name": "glm-4-9b",
|
|
"max_tokens": 8192,
|
|
"model_types": [
|
|
"chat"
|
|
],
|
|
"features": {}
|
|
},
|
|
{
|
|
"name": "embedding-2",
|
|
"max_tokens": 512,
|
|
"model_types": [
|
|
"embedding"
|
|
],
|
|
"features": {}
|
|
},
|
|
{
|
|
"name": "embedding-3",
|
|
"max_tokens": 512,
|
|
"model_types": [
|
|
"embedding"
|
|
],
|
|
"features": {}
|
|
},
|
|
{
|
|
"name": "glm-asr",
|
|
"max_tokens": 4096,
|
|
"model_types": [
|
|
"asr"
|
|
],
|
|
"features": {}
|
|
},
|
|
{
|
|
"name": "glm-tts",
|
|
"model_types": [
|
|
"tts"
|
|
],
|
|
"features": {}
|
|
},
|
|
{
|
|
"name": "glm-ocr",
|
|
"model_types": [
|
|
"ocr"
|
|
],
|
|
"features": {}
|
|
},
|
|
{
|
|
"name": "glm-rerank",
|
|
"model_types": [
|
|
"rerank"
|
|
],
|
|
"features": {}
|
|
}
|
|
],
|
|
"features": {
|
|
"thinking": {
|
|
"default_value": true,
|
|
"supported_models": [
|
|
"glm-5.1",
|
|
"glm-5",
|
|
"glm-5v-turbo",
|
|
"glm-4.7",
|
|
"glm-4.6",
|
|
"glm-4.6v",
|
|
"glm-4.5",
|
|
"glm-4.5v"
|
|
],
|
|
"clear": {
|
|
"default_value": true
|
|
}
|
|
}
|
|
}
|
|
} |