Browse Source

feat: add glm4 new models and zhipu embedding-2 (#5089)

orangeclk 1 year ago
parent
commit
2050a8b8f0

File diff suppressed because it is too large
+ 39 - 0
api/core/model_runtime/model_providers/zhipuai/llm/glm-4-0520.yaml


File diff suppressed because it is too large
+ 39 - 0
api/core/model_runtime/model_providers/zhipuai/llm/glm-4-air.yaml


File diff suppressed because it is too large
+ 39 - 0
api/core/model_runtime/model_providers/zhipuai/llm/glm-4-airx.yaml


File diff suppressed because it is too large
+ 39 - 0
api/core/model_runtime/model_providers/zhipuai/llm/glm-4-flash.yaml


+ 4 - 0
api/core/model_runtime/model_providers/zhipuai/text_embedding/embedding-2.yaml

@@ -0,0 +1,4 @@
+model: embedding-2
+model_type: text-embedding
+model_properties:
+  context_size: 512