4242from materializers .document_materializer import DocumentMaterializer
4343from pipelines import (
4444 finetune_embeddings ,
45- generate_synthetic_data ,
4645 llm_basic_rag ,
4746 llm_eval ,
4847)
103102 default = False ,
104103 help = "Disable cache." ,
105104)
106- @click .option (
107- "--synthetic" ,
108- "synthetic" ,
109- is_flag = True ,
110- default = False ,
111- help = "Run the synthetic data pipeline." ,
112- )
113105@click .option (
114106 "--local" ,
115107 "local" ,
@@ -151,7 +143,6 @@ def main(
151143 query : Optional [str ] = None ,
152144 model : str = OPENAI_MODEL ,
153145 no_cache : bool = False ,
154- synthetic : bool = False ,
155146 local : bool = False ,
156147 embeddings : bool = False ,
157148 dummyembeddings : bool = False ,
@@ -166,10 +157,11 @@ def main(
166157 query (Optional[str]): If provided, the RAG model will be queried with this string.
167158 model (str): The model to use for the completion. Default is OPENAI_MODEL.
168159 no_cache (bool): If `True`, cache will be disabled.
169- synthetic (bool): If `True`, the synthetic data pipeline will be run.
170160 local (bool): If `True`, the local LLM via Ollama will be used.
161+ dummyembeddings (bool): If `True`, dummyembeddings will be used
171162 embeddings (bool): If `True`, the embeddings will be fine-tuned.
172163 argilla (bool): If `True`, the Argilla annotations will be used.
164+ reranked (bool): If `True`, rerankers will be used
173165 """
174166 pipeline_args = {"enable_cache" : not no_cache }
175167 embeddings_finetune_args = {
@@ -191,12 +183,11 @@ def main(
191183 md = Markdown (response )
192184 console .print (md )
193185
186+ print (f"Running Pipeline with pipeline args: { pipeline_args } " )
194187 if rag :
195188 llm_basic_rag .with_options (** pipeline_args )()
196189 if evaluation :
197190 llm_eval .with_options (** pipeline_args )()
198- if synthetic :
199- generate_synthetic_data .with_options (** pipeline_args )()
200191 if embeddings :
201192 finetune_embeddings .with_options (** embeddings_finetune_args )()
202193 if dummyembeddings :
0 commit comments