fix: dont know python

main
Antonio De Lucreziis 10 months ago
parent ce3ba63080
commit 8858b64324

@ -62,7 +62,7 @@ def translate_to_json(input_html: str) -> str:
"role": "system", "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", "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: ({ map(lambda example: ({
"role": "user", "role": "user",
"content": f"""INPUT:\n{example["input"]}\n\nOUTPUT JSON:\n{example["output"]}""" "content": f"""INPUT:\n{example["input"]}\n\nOUTPUT JSON:\n{example["output"]}"""

Loading…
Cancel
Save