mirror of
https://github.com/jina-ai/node-DeepResearch.git
synced 2025-12-26 06:28:56 +08:00
fix: eval
This commit is contained in:
parent
ed5ba0f4fd
commit
dc69e742c1
@ -340,6 +340,8 @@ 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 {
|
||||
evaluationMetrics[currentQuestion] = []
|
||||
}
|
||||
|
||||
if (step === 1 && evaluationMetrics[currentQuestion].includes('freshness')) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user