From 70ea6661edd600d914beac2b618b1b753ce0ffad Mon Sep 17 00:00:00 2001 From: Kevin Hu Date: Tue, 12 Nov 2024 11:27:43 +0800 Subject: [PATCH] add new models for zhipu-ai (#3348) ### What problem does this PR solve? #3345 ### Type of change - [x] New Feature (non-breaking change which adds functionality) --- conf/llm_factories.json | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/conf/llm_factories.json b/conf/llm_factories.json index ca8fa3085..a6f69dc3f 100644 --- a/conf/llm_factories.json +++ b/conf/llm_factories.json @@ -160,6 +160,18 @@ "tags": "LLM,TEXT EMBEDDING,SPEECH2TEXT,MODERATION", "status": "1", "llm": [ + { + "llm_name": "glm-4-plus", + "tags": "LLM,CHAT,", + "max_tokens": 128000, + "model_type": "chat" + }, + { + "llm_name": "glm-4-0520", + "tags": "LLM,CHAT,", + "max_tokens": 128000, + "model_type": "chat" + }, { "llm_name": "glm-4", "tags": "LLM,CHAT,", @@ -184,6 +196,12 @@ "max_tokens": 128000, "model_type": "chat" }, + { + "llm_name": "glm-4-flashx", + "tags": "LLM,CHAT,", + "max_tokens": 128000, + "model_type": "chat" + }, { "llm_name": "glm-4-long", "tags": "LLM,CHAT,", @@ -640,7 +658,7 @@ "llm_name": "gpt-4o", "tags": "LLM,CHAT,128K", "max_tokens": 128000, - "model_type": "chat,image2text" + "model_type": "image2text" }, { "llm_name": "gpt-3.5-turbo",