Skip to content

Commit

Permalink
fix: disable RAGAS eval until resolution of explodinggradients/ragas#…
Browse files Browse the repository at this point in the history
  • Loading branch information
bsbodden committed Oct 22, 2024
1 parent 28de365 commit 95b9e7b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion demos/chat_with_pdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,8 @@ def get_response(
yield history, "", output

# Perform RAGAS evaluation after yielding the response
feedback = perform_ragas_evaluation(query, {"result": answer})
# feedback = perform_ragas_evaluation(query, {"result": answer})
feedback = ""

# Prepare the final output with RAGAS evaluation
final_output = f"{output}\n\n{feedback}"
Expand Down

0 comments on commit 95b9e7b

Please sign in to comment.