@ -62,7 +62,7 @@ def translate_to_json(input_html: str) -> str:
"role": "system",
"content": "You are an assistant helping a developer converting raw text data to JSON. Output only valid JSON following the given examples, without including any additional notes or comments",
},
] + (
] + list(
map(lambda example: ({
"role": "user",
"content": f"""INPUT:\n{example["input"]}\n\nOUTPUT JSON:\n{example["output"]}"""