From e4dc715458d353d5b5d1eecdd2d22c322986effa Mon Sep 17 00:00:00 2001 From: cherishsince Date: Wed, 24 Apr 2024 16:45:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=8F=AF=E8=A7=81=E8=8C=83?= =?UTF-8?q?=E5=9B=B4=20enum?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ai/enums/ChatRoleVisibilityEnum.java | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 yudao-module-ai/yudao-module-ai-api/src/main/java/cn/iocoder/yudao/module/ai/enums/ChatRoleVisibilityEnum.java diff --git a/yudao-module-ai/yudao-module-ai-api/src/main/java/cn/iocoder/yudao/module/ai/enums/ChatRoleVisibilityEnum.java b/yudao-module-ai/yudao-module-ai-api/src/main/java/cn/iocoder/yudao/module/ai/enums/ChatRoleVisibilityEnum.java new file mode 100644 index 0000000000..eef31935a1 --- /dev/null +++ b/yudao-module-ai/yudao-module-ai-api/src/main/java/cn/iocoder/yudao/module/ai/enums/ChatRoleVisibilityEnum.java @@ -0,0 +1,25 @@ +package cn.iocoder.yudao.module.ai.enums; + +import lombok.AllArgsConstructor; +import lombok.Getter; + +/** + * chat角色 可见范围 + * + * @author fansili + * @time 2024/4/24 16:44 + * @since 1.0 + */ +@AllArgsConstructor +@Getter +public enum ChatRoleVisibilityEnum { + + PUBLIC("public", "公开"), + PRIVATE("private", "私有的"), + + ; + + private String type; + + private String name; +}