Documentation
¶
Overview ¶
Package aireply 人工智能回复
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AIReply ¶
type AIReply interface {
// DealQuestion 把椛椛替换为各api接口的bot名字
DealQuestion(preMsg string) (msg string)
// GetReply 取得回复消息
GetReply(msg string) (reply string)
// DealReply 处理回复消息
DealReply(reply string) (textReply string, faceReply int)
}
AIReply 公用智能回复类
type QYKReply ¶
type QYKReply struct{}
QYKReply 青云客回复类
func (*QYKReply) DealQuestion ¶
DealQuestion 把椛椛替换为菲菲
type XiaoAiReply ¶
type XiaoAiReply struct{}
XiaoAiReply 小爱回复类
func (*XiaoAiReply) DealQuestion ¶
func (*XiaoAiReply) DealQuestion(preMsg string) (msg string)
DealQuestion 把椛椛替换为小爱
func (*XiaoAiReply) DealReply ¶
func (*XiaoAiReply) DealReply(reply string) (textReply string, faceReply int)
DealReply 处理回复消息
func (*XiaoAiReply) GetReply ¶
func (*XiaoAiReply) GetReply(msg string) (reply string)
GetReply 取得回复消息
Click to show internal directories.
Click to hide internal directories.