lamhieu commited on
Commit
acb3212
·
1 Parent(s): e4e484a

chore: update something

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -427,7 +427,14 @@ def generate(
427
  conversation.append(
428
  {
429
  "role": "refs",
430
- "content": json.dumps(references, ensure_ascii=False),
 
 
 
 
 
 
 
431
  }
432
  )
433
 
 
427
  conversation.append(
428
  {
429
  "role": "refs",
430
+ "content": json.dumps(
431
+ {
432
+ "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.",
433
+ "documents": references,
434
+ },
435
+ indent=2,
436
+ ensure_ascii=False,
437
+ ),
438
  }
439
  )
440