ai_scheduler/internal/entitys/chat_history.go

17 lines
335 B
Go

package entitys
import (
"ai_scheduler/internal/data/constants"
)
type ChatHistory struct {
SessionID string `json:"session_id"`
Role constants.Caller `json:"role"`
Content string `json:"content"`
Prologue string `json:"prologue"`
}
type ChatHisLog struct {
HisId int64 `json:"his_id"`
}