增加 chat角色 source enum

This commit is contained in:
cherishsince 2024-04-24 16:40:26 +08:00
parent 1ab1538afe
commit d8c2d0d66a

View File

@ -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;
}