lamhieu commited on
Commit
2d51976
·
1 Parent(s): fb532c8

chore: update something

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -418,7 +418,14 @@ def generate(
418
  conversation.append(
419
  {
420
  "role": "refs",
421
- "content": json.dumps(references, ensure_ascii=False),
 
 
 
 
 
 
 
422
  }
423
  )
424
 
 
418
  conversation.append(
419
  {
420
  "role": "refs",
421
+ "content": json.dumps(
422
+ {
423
+ "instructions": "These are only general documents used for reference to give the most accurate and honest answers possible. Ignore it if it's irrelevant and don't overuse it.",
424
+ "documents": references,
425
+ },
426
+ indent=2,
427
+ ensure_ascii=False,
428
+ ),
429
  }
430
  )
431