mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-09 10:43:44 +08:00
refactor: 调整项目目录结构,移除其他语言 API 目录
This commit is contained in:
14
api/store/vo/chat_role.go
Normal file
14
api/store/vo/chat_role.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package vo
|
||||
|
||||
import "chatplus/core/types"
|
||||
|
||||
type ChatRole struct {
|
||||
BaseVo
|
||||
Key string `json:"key"` // 角色唯一标识
|
||||
Name string `json:"name"` // 角色名称
|
||||
Context []types.Message `json:"context"` // 角色语料信息
|
||||
HelloMsg string `json:"hello_msg"` // 打招呼的消息
|
||||
Icon string `json:"icon"` // 角色聊天图标
|
||||
Enable bool `json:"enable"` // 是否启用被启用
|
||||
Sort int `json:"sort"` // 排序
|
||||
}
|
||||
Reference in New Issue
Block a user