From 676244364d386fe550595e68ace0af58aae91113 Mon Sep 17 00:00:00 2001 From: Brian Sam-Bodden Date: Sun, 29 Sep 2024 15:42:30 -0700 Subject: [PATCH] Disable RAGAS until resolution of https://github.com/explodinggradients/ragas/issues/1136 --- demos/chat_with_pdf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/demos/chat_with_pdf.py b/demos/chat_with_pdf.py index bcd50a2..7ddf19b 100644 --- a/demos/chat_with_pdf.py +++ b/demos/chat_with_pdf.py @@ -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}"