mirror of
https://github.com/jina-ai/node-DeepResearch.git
synced 2026-03-22 07:29:35 +08:00
fix: eval
This commit is contained in:
@@ -340,7 +340,7 @@ export async function getResponse(question?: string,
|
||||
await evaluateQuestion(currentQuestion, context, SchemaGen)
|
||||
// force strict eval for the original question, only once.
|
||||
evaluationMetrics[currentQuestion].push('strict')
|
||||
} else {
|
||||
} else if (currentQuestion.trim() !== question) {
|
||||
evaluationMetrics[currentQuestion] = []
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user