Kevin Hu commited on
Commit
12b6347
·
1 Parent(s): a17ba3f

add new models for zhipu-ai (#3348)

Browse files

### What problem does this PR solve?

#3345

### Type of change

- [x] New Feature (non-breaking change which adds functionality)

Files changed (1) hide show
  1. conf/llm_factories.json +19 -1
conf/llm_factories.json CHANGED
@@ -160,6 +160,18 @@
160
  "tags": "LLM,TEXT EMBEDDING,SPEECH2TEXT,MODERATION",
161
  "status": "1",
162
  "llm": [
 
 
 
 
 
 
 
 
 
 
 
 
163
  {
164
  "llm_name": "glm-4",
165
  "tags": "LLM,CHAT,",
@@ -184,6 +196,12 @@
184
  "max_tokens": 128000,
185
  "model_type": "chat"
186
  },
 
 
 
 
 
 
187
  {
188
  "llm_name": "glm-4-long",
189
  "tags": "LLM,CHAT,",
@@ -640,7 +658,7 @@
640
  "llm_name": "gpt-4o",
641
  "tags": "LLM,CHAT,128K",
642
  "max_tokens": 128000,
643
- "model_type": "chat,image2text"
644
  },
645
  {
646
  "llm_name": "gpt-3.5-turbo",
 
160
  "tags": "LLM,TEXT EMBEDDING,SPEECH2TEXT,MODERATION",
161
  "status": "1",
162
  "llm": [
163
+ {
164
+ "llm_name": "glm-4-plus",
165
+ "tags": "LLM,CHAT,",
166
+ "max_tokens": 128000,
167
+ "model_type": "chat"
168
+ },
169
+ {
170
+ "llm_name": "glm-4-0520",
171
+ "tags": "LLM,CHAT,",
172
+ "max_tokens": 128000,
173
+ "model_type": "chat"
174
+ },
175
  {
176
  "llm_name": "glm-4",
177
  "tags": "LLM,CHAT,",
 
196
  "max_tokens": 128000,
197
  "model_type": "chat"
198
  },
199
+ {
200
+ "llm_name": "glm-4-flashx",
201
+ "tags": "LLM,CHAT,",
202
+ "max_tokens": 128000,
203
+ "model_type": "chat"
204
+ },
205
  {
206
  "llm_name": "glm-4-long",
207
  "tags": "LLM,CHAT,",
 
658
  "llm_name": "gpt-4o",
659
  "tags": "LLM,CHAT,128K",
660
  "max_tokens": 128000,
661
+ "model_type": "image2text"
662
  },
663
  {
664
  "llm_name": "gpt-3.5-turbo",