diff --git a/backend/scripts/hubgpt_eval_automation.py b/backend/scripts/hubgpt_eval_automation.py index 3e3578d9682..49b505b5708 100644 --- a/backend/scripts/hubgpt_eval_automation.py +++ b/backend/scripts/hubgpt_eval_automation.py @@ -83,11 +83,9 @@ def upload_to_slack(filename, channel_id): for num, query in enumerate(queries_list): print(f"Query {num+1}/{len(queries_list)}: {query}") - # response = process_question(danswer_url="https:/CSV_PATHdinsight.io", - # question=query, - # api_key=None) - response = 1 - print(response) + response = process_question( + danswer_url=os.getenv("WEB_DOMAIN"), question=query, api_key=None + ) responses.append(response) print("\n ------------------- \n")