增加智谱model类型 (#1239)

zhipu-ai新增了model类型

Co-authored-by: luoaz <luoaz@zhihuizhengan.com>
This commit is contained in:
BitLove 2024-06-06 20:40:06 +08:00 committed by GitHub
parent 22d0a5fbb5
commit bdc4c5730f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 0 deletions

1
.gitignore vendored
View File

@ -37,3 +37,4 @@ build/
### .env files contain local environment variables ### ### .env files contain local environment variables ###
.env .env
langchain4j-core/target_test-classes/

View File

@ -2,6 +2,10 @@ package dev.langchain4j.model.zhipu.chat;
public enum ChatCompletionModel { public enum ChatCompletionModel {
GLM_4("glm-4"), GLM_4("glm-4"),
GLM_4_0520("glm-4-0520"),
GLM_4_AIR("glm-4-air"),
GLM_4_AIRX("glm-4-airx"),
GLM_4_FLASH("glm-4-flash"),
GLM_3_TURBO("glm-3-turbo"), GLM_3_TURBO("glm-3-turbo"),
CHATGLM_TURBO("chatglm_turbo"); CHATGLM_TURBO("chatglm_turbo");