Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

add new models for zhipu-ai (#3348)

Kevin Hu70ea6661edd6
diff --git a/conf/llm_factories.json b/conf/llm_factories.json
index ca8fa30854..a6f69dc3f5 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",