From d37012f7808855ae9b5bc46e32a4e8e8dfd5769a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nielson=20Jann=C3=A9?= Date: Wed, 26 Mar 2025 11:02:32 +0100 Subject: [PATCH] Make the --pdf-data argument optional --- generic_rag/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generic_rag/app.py b/generic_rag/app.py index 1cf35d3..5bc87d3 100644 --- a/generic_rag/app.py +++ b/generic_rag/app.py @@ -28,8 +28,8 @@ parser.add_argument( "-p", "--pdf-data", type=Path, - required=True, nargs="+", + default=[], help="One or multiple paths to folders or files to use for retrieval. " "If a path is a folder, all files in the folder will be used. " "If a path is a file, only that file will be used. "