From 5350104c88239dd5a53168d50a82283b1fc803bf Mon Sep 17 00:00:00 2001 From: David Gardner Date: Mon, 24 Jun 2024 12:01:11 -0700 Subject: [PATCH] Give the --question flag a default values since the pipeline fails without one --- examples/llm/rag/run.py | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/llm/rag/run.py b/examples/llm/rag/run.py index 9798f875bf..c060f34127 100644 --- a/examples/llm/rag/run.py +++ b/examples/llm/rag/run.py @@ -80,6 +80,7 @@ def run(): "--question", type=str, multiple=True, + default=["What are some new attacks discovered in the cyber security industry?"] * 5, help="The question to answer with the RAG pipeline. Specify multiple times to answer multiple questions at once.", ) def pipeline(**kwargs):