17 lines
333 B
Go

package errcode
const (
ErrNoContent = ErrNlp + iota
ErrNoDocFound
)
func NlpMsgInit(m msg) {
m[ErrNoContent] = "内容为空"
m[ErrNoDocFound] = "没有找到相关文档"
}
func NlpMsgUserInit(m msg) {
m[ErrNoContent] = "请输入内容"
m[ErrNoDocFound] = "小护没有在知识库中找到相关文档。😿😿😿"
}