package llm_http

import "encoding/json"

type LLMQuestionReq struct {
	Question      string `description:"提问"`
	KnowledgeBase string `description:"知识库"`
	SessionId     string `description:"会话ID"`
}

type UserChatReq struct {
	ChatId    int    `json:"ChatId"`
	ChatTitle string `json:"ChatTitle" description:"会话名称"`
}

type UserChatRecordReq struct {
	Id           int    `json:"Id"`
	ChatId       int    `json:"ChatId"`
	Content      string `json:"Content" description:"会话名称"`
	ChatUserType string `json:"ChatUserType" description:"用户类型"`
	SendTime     string `json:"SendTime" description:"发送时间"`
}

type GenerateContentReq struct {
	WechatArticleId int    `json:"WechatArticleId" description:"公众号Id"`
	Promote         string `json:"Promote" description:"提示词"`
}
type SaveContentReq struct {
	WechatArticleId int             `json:"WechatArticleId" description:"公众号Id"`
	Title           string          `json:"Title" description:"标题"`
	Promote         json.RawMessage `json:"Promote" description:"提示词"`
	AigcContent     json.RawMessage `json:"AigcContent" description:"生成内容"`
}
type DeleteContentReq struct {
	RecordId int
}
type ContentListReq struct {
	WechatArticleId int
}