Przeglądaj źródła

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

orangeclk 1 rok temu
rodzic
commit
2050a8b8f0

Plik diff jest za duży
+ 39 - 0
api/core/model_runtime/model_providers/zhipuai/llm/glm-4-0520.yaml


Plik diff jest za duży
+ 39 - 0
api/core/model_runtime/model_providers/zhipuai/llm/glm-4-air.yaml


Plik diff jest za duży
+ 39 - 0
api/core/model_runtime/model_providers/zhipuai/llm/glm-4-airx.yaml


Plik diff jest za duży
+ 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