geronimo-pericoli commited on
Commit
99e002f
1 Parent(s): 472de85

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -368,7 +368,7 @@ def faithfulness_eval():
368
  global final_response
369
  global query
370
  evaluator = FaithfulnessEvaluator(llm=gpt4omini)
371
- eval_result = evaluator.evaluate_response(query=query, response=final_response.response)
372
 
373
  print("Groundedness: " + str(eval_result.score) + " - " + str(eval_result.passing) + "\n")
374
  print("Respuesta: " + str(final_response) + "\n")
 
368
  global final_response
369
  global query
370
  evaluator = FaithfulnessEvaluator(llm=gpt4omini)
371
+ eval_result = evaluator.evaluate_response(query=query, response=final_response)
372
 
373
  print("Groundedness: " + str(eval_result.score) + " - " + str(eval_result.passing) + "\n")
374
  print("Respuesta: " + str(final_response) + "\n")