chore: replace all cn comments to en version by volc api (#313)
This commit is contained in:
@@ -52,30 +52,30 @@ func newMessage(db *gorm.DB, opts ...gen.DOOption) message {
|
||||
return _message
|
||||
}
|
||||
|
||||
// message 消息表
|
||||
// message message record
|
||||
type message struct {
|
||||
messageDo
|
||||
|
||||
ALL field.Asterisk
|
||||
ID field.Int64 // 主键ID
|
||||
RunID field.Int64 // 对应的run_id
|
||||
ID field.Int64 // id
|
||||
RunID field.Int64 // run_id
|
||||
ConversationID field.Int64 // conversation id
|
||||
UserID field.String // user id
|
||||
AgentID field.Int64 // agent_id
|
||||
Role field.String // 角色: user、assistant、system
|
||||
ContentType field.String // 内容类型 1 text
|
||||
Content field.String // 内容
|
||||
MessageType field.String // 消息类型:
|
||||
DisplayContent field.String // 展示内容
|
||||
Ext field.String // message 扩展字段
|
||||
SectionID field.Int64 // 段落id
|
||||
BrokenPosition field.Int32 // 打断位置
|
||||
Status field.Int32 // 消息状态 1 Available 2 Deleted 3 Replaced 4 Broken 5 Failed 6 Streaming 7 Pending
|
||||
ModelContent field.String // 模型输入内容
|
||||
MetaInfo field.String // 引用、高亮等文本标记信息
|
||||
ReasoningContent field.String // 思考内容
|
||||
CreatedAt field.Int64 // 创建时间
|
||||
UpdatedAt field.Int64 // 更新时间
|
||||
Role field.String // role: user、assistant、system
|
||||
ContentType field.String // content type 1 text
|
||||
Content field.String // content
|
||||
MessageType field.String // message_type
|
||||
DisplayContent field.String // display content
|
||||
Ext field.String // message ext
|
||||
SectionID field.Int64 // section_id
|
||||
BrokenPosition field.Int32 // broken position
|
||||
Status field.Int32 // message status: 1 Available 2 Deleted 3 Replaced 4 Broken 5 Failed 6 Streaming 7 Pending
|
||||
ModelContent field.String // model content
|
||||
MetaInfo field.String // text tagging information such as citation and highlighting
|
||||
ReasoningContent field.String // reasoning content
|
||||
CreatedAt field.Int64 // Create Time in Milliseconds
|
||||
UpdatedAt field.Int64 // Update Time in Milliseconds
|
||||
|
||||
fieldMap map[string]field.Expr
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user