@@ -33,7 +33,10 @@ def process(config_file: str):
3333 help = "Path to the config file for post-processing." ,
3434)
3535@click .option (
36- "--input-data" , type = str , required = True , help = "Path to the input JSONL file of documents."
36+ "--input-data" ,
37+ type = str ,
38+ required = True ,
39+ help = "Path to the input JSONL file of documents." ,
3740)
3841def postprocess (config_file : str , input_data : str ):
3942 """Run the post-processors pipeline.
@@ -59,7 +62,11 @@ def postprocess(config_file: str, input_data: str):
5962 help = "Path to the config file for indexing." ,
6063)
6164@click .option (
62- "--documents-path" , "-f" , type = str , required = False , help = "Path to the JSONL file of the (post)processed documents."
65+ "--documents-path" ,
66+ "-f" ,
67+ type = str ,
68+ required = False ,
69+ help = "Path to the JSONL file of the (post)processed documents." ,
6370)
6471@click .option (
6572 "--collection-name" ,
@@ -93,10 +100,18 @@ def index(config_file: str, documents_path: str, collection_name: str):
93100 help = "Dispatcher configuration file path." ,
94101)
95102@click .option (
96- "--input-file" , "-f" , type = str , required = True , help = "Path to the JSONL file of the input queries."
103+ "--input-file" ,
104+ "-f" ,
105+ type = str ,
106+ required = True ,
107+ help = "Path to the JSONL file of the input queries." ,
97108)
98109@click .option (
99- "--output-file" , "-o" , type = str , required = True , help = "Path to which save the results of the retriever as a JSON."
110+ "--output-file" ,
111+ "-o" ,
112+ type = str ,
113+ required = True ,
114+ help = "Path to which save the results of the retriever as a JSON." ,
100115)
101116def retrieve (config_file : str , input_file : str , output_file : str ):
102117 """Retrieve documents for specified queries.
@@ -171,8 +186,8 @@ def dashboard_backend(host, port):
171186 """Run the dashboard backend.
172187
173188 Args:
174- host:
175- port:
189+ host:
190+ port:
176191
177192 Returns:
178193
0 commit comments