lamhieu commited on
Commit
c5a4a90
·
1 Parent(s): 1cb963b

chore: update something

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -493,7 +493,9 @@ def generate_chat(
493
  and len(references) > 0
494
  ):
495
  formatted_references = f"Analyze the provided references, extract relevant information to provide accurate and objective feedback. This reference information may include: conversation context, assistant or user memories, reasoning guides, problem-solving suggestions, assistant rules, etc.\nIf the reference is not relevant, ignore it. Try to have a balanced approach, avoiding over-reliance on the documentation."
496
- formatted_references += "\n\n" + json.dumps(references, indent=2, ensure_ascii=False)
 
 
497
  conversation.append(
498
  {
499
  "role": "refs",
 
493
  and len(references) > 0
494
  ):
495
  formatted_references = f"Analyze the provided references, extract relevant information to provide accurate and objective feedback. This reference information may include: conversation context, assistant or user memories, reasoning guides, problem-solving suggestions, assistant rules, etc.\nIf the reference is not relevant, ignore it. Try to have a balanced approach, avoiding over-reliance on the documentation."
496
+ formatted_references += "\n\n" + json.dumps(
497
+ references, indent=2, ensure_ascii=False
498
+ )
499
  conversation.append(
500
  {
501
  "role": "refs",