2024-11-18 00:39:36 +08:00

19 lines
433 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package errcode
const (
ErrNoContent = ErrNlp + iota
ErrNoDocFound
ErrPythonServierDown
)
func NlpMsgInit(m msg) {
m[ErrNoContent] = "内容为空"
m[ErrNoDocFound] = "没有找到相关文档"
}
func NlpMsgUserInit(m msg) {
m[ErrNoContent] = "请输入内容"
m[ErrNoDocFound] = "小护没有在知识库中找到相关文档。😿"
m[ErrPythonServierDown] = "小护的🐍python服务挂了请稍后再试。😿"
}