From d8c2d0d66ae442df4f1ff3a03d8e13cf2f5232bf Mon Sep 17 00:00:00 2001 From: cherishsince Date: Wed, 24 Apr 2024 16:40:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20chat=E8=A7=92=E8=89=B2=20s?= =?UTF-8?q?ource=20enum?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../module/ai/enums/ChatRoleSourceEnum.java | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 yudao-module-ai/yudao-module-ai-api/src/main/java/cn/iocoder/yudao/module/ai/enums/ChatRoleSourceEnum.java diff --git a/yudao-module-ai/yudao-module-ai-api/src/main/java/cn/iocoder/yudao/module/ai/enums/ChatRoleSourceEnum.java b/yudao-module-ai/yudao-module-ai-api/src/main/java/cn/iocoder/yudao/module/ai/enums/ChatRoleSourceEnum.java new file mode 100644 index 000000000..388640f42 --- /dev/null +++ b/yudao-module-ai/yudao-module-ai-api/src/main/java/cn/iocoder/yudao/module/ai/enums/ChatRoleSourceEnum.java @@ -0,0 +1,26 @@ +package cn.iocoder.yudao.module.ai.enums; + +import lombok.AllArgsConstructor; +import lombok.Getter; + +/** + * chat角色 source + * + * @author fansili + * @time 2024/4/24 16:37 + * @since 1.0 + */ +@AllArgsConstructor +@Getter +public enum ChatRoleSourceEnum { + + SYSTEM("system", "系统"), + CUSTOMER("customer", "用户自定义"), + + + ; + + private String type; + + private String name; +}