fix: dont know python

This commit is contained in:
2024-02-02 11:31:05 +01:00
parent ce3ba63080
commit 8858b64324
+1 -1
View File
@@ -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"]}"""