Spaces:
Sleeping
Sleeping
Fix SyntaxWarning for invalid escape sequence in llm.py
Browse files- tinytroupe/utils/llm.py +1 -1
tinytroupe/utils/llm.py
CHANGED
|
@@ -721,7 +721,7 @@ class LLMChat:
|
|
| 721 |
|
| 722 |
def _request_list_of_dict_llm_message(self):
|
| 723 |
return {"role": "user",
|
| 724 |
-
"content": "The `value` field you generate **must** be a list of dictionaries, specified as a JSON structure embedded in a string. For example, `[
|
| 725 |
|
| 726 |
def _coerce_to_list(self, llm_output:str):
|
| 727 |
"""
|
|
|
|
| 721 |
|
| 722 |
def _request_list_of_dict_llm_message(self):
|
| 723 |
return {"role": "user",
|
| 724 |
+
"content": "The `value` field you generate **must** be a list of dictionaries, specified as a JSON structure embedded in a string. For example, `[{...}, {...}, ...]`. This is critical for later processing."}
|
| 725 |
|
| 726 |
def _coerce_to_list(self, llm_output:str):
|
| 727 |
"""
|