fix: detect unavailable authoritative knowledge answers
This commit is contained in:
@@ -14,18 +14,19 @@ var noAnswerPhrases = []string{
|
||||
"没有找到",
|
||||
"无法确定",
|
||||
"暂无相关",
|
||||
"暂无已发布的权威知识",
|
||||
"知识库中没有",
|
||||
}
|
||||
|
||||
// Evaluator classifies a successful turn into a coverage verdict.
|
||||
type Evaluator struct{}
|
||||
|
||||
// NewEvaluator creates a v1 Evaluator.
|
||||
// NewEvaluator creates the current Evaluator.
|
||||
func NewEvaluator() *Evaluator {
|
||||
return &Evaluator{}
|
||||
}
|
||||
|
||||
// Version returns the evaluator version, always "v1".
|
||||
// Version returns the current evaluator version.
|
||||
func (e *Evaluator) Version() string {
|
||||
return EvaluatorVersion
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user