Files
rag-local/kb/model/entity/message.go
T
2026-08-05 10:28:44 +08:00

13 lines
445 B
Go

package entity
import "github.com/gogf/gf/v2/os/gtime"
type Message struct {
Id int64 `orm:"id" json:"id"`
ConversationId int64 `orm:"conversation_id" json:"conversation_id"`
Role string `orm:"role" json:"role"`
Content string `orm:"content" json:"content"`
Citations string `orm:"citations" json:"citations"`
CreatedAt *gtime.Time `orm:"created_at" json:"created_at"`
}