AUXteam commited on
Commit
9bc10b9
·
verified ·
1 Parent(s): b7a0f4f

Fix SyntaxWarning for invalid escape sequence in llm.py

Browse files
Files changed (1) hide show
  1. 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, `[\{...\}, \{...\}, ...]`. This is critical for later processing."}
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
  """