ai_scheduler/internal/entitys/chat_history.go

23 lines
473 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"`
}
type ChatHistQuery struct {
SessionID string `json:"session_id"`
Page int `json:"page"`
PageSize int `json:"page_size"`
}