Open recitalAI opened 3 months ago
In progress (cf. PR from Youssouf)
The configuration file describes how an Expe will go from one step to another, in which order. Thus, the configuration file is made of the 3 main blocks :
Expe file : a string to the Expe file
Each Step is defined as follows:
Each TextGenerator
comprises:
Prompter
LiteLLM
Below is an example of a configuration file with 3 steps, AnswerGen, FactsGen and EvalGen:
pipeline = load_pipeline(path_to_pipeline.toml) pipeline.run()
Too many parameters are shared between the different generation steps. It would be more convenient to use a configuration file to define all the steps and run them at once.