Fix linting

This commit is contained in:
Zamil Majdy
2024-07-02 13:02:58 +07:00
committed by Aarushi
parent 883fa052e0
commit 7a7bc9d716

View File

@@ -43,12 +43,13 @@ class LlmCallBlock(Block):
expected_format = [f'"{k}": "{v}"' for k, v in
input_data.expected_format.items()]
format_prompt = ",\n ".join(expected_format)
sys_prompt = f"""
|{input_data.sys_prompt}
|
|Reply in json format:
|{{
| {",\n ".join(expected_format)}
| {format_prompt}
|}}
"""
usr_prompt = f"""