llmp.components.instruction.utils.extend_instruction_by_example

llmp.components.instruction.utils.extend_instruction_by_example(instruction: str, input_example: dict, output_example: dict, **kwargs) str[source]

Extend an instruction with context of input and output model.