in cookbook-efforts/domain-specific-datasets/distilabel_pipelines/domain_expert_pipeline.py [0:0]
def format_input(self, input: Dict[str, Any]) -> "ChatType":
return [
{
"role": "system",
"content": self.system_prompt,
},
{
"role": "user",
"content": self.template.format(**input),
},
]