mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-08 02:03:42 +08:00
refactor: 调整项目目录结构,移除其他语言 API 目录
This commit is contained in:
12
api/store/model/chat_role.go
Normal file
12
api/store/model/chat_role.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package model
|
||||
|
||||
type ChatRole struct {
|
||||
BaseModel
|
||||
Key string `gorm:"column:marker;unique"` // 角色唯一标识
|
||||
Name string // 角色名称
|
||||
Context string `gorm:"column:context_json"` // 角色语料信息 json
|
||||
HelloMsg string // 打招呼的消息
|
||||
Icon string // 角色聊天图标
|
||||
Enable bool // 是否启用被启用
|
||||
Sort int //排序数字
|
||||
}
|
||||
Reference in New Issue
Block a user