lamhieu commited on
Commit
323d8f3
·
1 Parent(s): 2423b5d

chore: update something

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -484,7 +484,9 @@ def generate_chat(
484
  and len(references) > 0
485
  ):
486
  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."
487
- formatted_references += "\n\n" + json.dumps(references, indent=2, ensure_ascii=False)
 
 
488
  conversation.append(
489
  {
490
  "role": "refs",
 
484
  and len(references) > 0
485
  ):
486
  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."
487
+ formatted_references += "\n\n" + json.dumps(
488
+ references, indent=2, ensure_ascii=False
489
+ )
490
  conversation.append(
491
  {
492
  "role": "refs",