chore: update something
Browse files
app.py
CHANGED
|
@@ -427,7 +427,14 @@ def generate(
|
|
| 427 |
conversation.append(
|
| 428 |
{
|
| 429 |
"role": "refs",
|
| 430 |
-
"content": json.dumps(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
|