Documentation
¶
Index ¶
- func CheckRequestTimes(rmsg *dingbot.ReceiveMsg) bool
- func Do(mode string, rmsg *dingbot.ReceiveMsg) error
- func DomainCertMsg(rmsg *dingbot.ReceiveMsg) error
- func DomainMsg(rmsg *dingbot.ReceiveMsg) error
- func GeneratePrompt(msg string) (rst string, err error)
- func ImageGenerate(rmsg *dingbot.ReceiveMsg) error
- func ProcessRequest(rmsg *dingbot.ReceiveMsg) error
- func SelectHistory(rmsg *dingbot.ReceiveMsg) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckRequestTimes ¶ added in v1.0.10
func CheckRequestTimes(rmsg *dingbot.ReceiveMsg) bool
CheckRequestTimes 分析处理请求逻辑 主要提供单日请求限额的功能
func GeneratePrompt ¶ added in v0.1.11
GeneratePrompt 生成当次请求的 Prompt
func ImageGenerate ¶ added in v1.0.4
func ImageGenerate(rmsg *dingbot.ReceiveMsg) error
ImageGenerate openai生成图片
func SelectHistory ¶ added in v1.0.7
func SelectHistory(rmsg *dingbot.ReceiveMsg) error
SelectHistory 查询会话历史
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.