diff --git a/backend/scripts/api_inference_sample.py b/backend/scripts/api_inference_sample.py index b9325194b8d..3ce2d7de42b 100644 --- a/backend/scripts/api_inference_sample.py +++ b/backend/scripts/api_inference_sample.py @@ -37,6 +37,7 @@ def process_question(danswer_url: str, question: str, api_key: str | None) -> No "prompt_id": 0, # Not specifying any specific docs to chat to, we want to run a search "search_doc_ids": None, + "file_descriptors": [], "retrieval_options": { "run_search": "always", "real_time": True, diff --git a/backend/scripts/hubgpt_eval_automation.py b/backend/scripts/hubgpt_eval_automation.py index 3b32a247fcc..f16b61f5591 100644 --- a/backend/scripts/hubgpt_eval_automation.py +++ b/backend/scripts/hubgpt_eval_automation.py @@ -34,6 +34,7 @@ def process_question(danswer_url: str, question: str, api_key: str | None) -> No "parent_message_id": None, # Default Question Answer prompt "prompt_id": 0, + "file_descriptors": [], # Not specifying any specific docs to chat to, we want to run a search "search_doc_ids": None, "retrieval_options": {