geronimo-pericoli
commited on
Commit
•
953fd26
1
Parent(s):
b348fd2
Update app.py
Browse files
app.py
CHANGED
@@ -356,6 +356,9 @@ def ctx_relevancy_eval():
|
|
356 |
evaluator = ContextRelevancyEvaluator(llm=gpt4omini)
|
357 |
evaluation_result = evaluator.evaluate(query=query, contexts=contexts)
|
358 |
|
|
|
|
|
|
|
359 |
# Extraer el puntaje de la evaluación
|
360 |
relevancy_score = evaluation_result.score
|
361 |
|
|
|
356 |
evaluator = ContextRelevancyEvaluator(llm=gpt4omini)
|
357 |
evaluation_result = evaluator.evaluate(query=query, contexts=contexts)
|
358 |
|
359 |
+
print("query: " + query)
|
360 |
+
print("contexts: " + str(contexts))
|
361 |
+
|
362 |
# Extraer el puntaje de la evaluación
|
363 |
relevancy_score = evaluation_result.score
|
364 |
|