Documentation ¶
Overview ¶
Package aireply 人工智能回复
Index ¶
Constants ¶
View Source
const ( // MomoURL api地址 MomoURL = lolimiURL + "/api/mmai/mm?key=Bys4kPjO2cSrybKak2XbtinQn9&msg=%v" // MomoBotName ... MomoBotName = "沫沫" // JingfengURL api地址 JingfengURL = lolimiURL + "/api/jjai/jj?key=Bys4kPjO2cSrybKak2XbtinQn9&msg=%v" // JingfengBotName ... JingfengBotName = "婧枫" )
View Source
const ( // QYKURL api地址 QYKURL = "http://api.qingyunke.com/api.php?key=free&appid=0&msg=%v" // QYKBotName ... QYKBotName = "菲菲" )
View Source
const ( // XiaoAiURL api地址 XiaoAiURL = "http://81.70.100.130/api/xiaoai.php?n=text&msg=%v" // XiaoAiBotName ... XiaoAiBotName = "小爱" )
View Source
const (
// ChatGPTURL api地址
ChatGPTURL = "https://api.openai.com/v1/"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AIReply ¶
type AIReply interface { // Talk 取得带 CQ 码的回复消息 Talk(uid int64, msg, nickname string) string // Talk 取得文本回复消息 TalkPlain(uid int64, msg, nickname string) string // String 获得实际使用的回复服务名 fmt.Stringer }
AIReply 公用智能回复类
type LolimiAi ¶
type LolimiAi struct {
// contains filtered or unexported fields
}
LolimiAi Lolimi回复类
Click to show internal directories.
Click to hide internal directories.