Spaces:
Paused
Paused
chore: update something
Browse files
app.py
CHANGED
@@ -418,7 +418,14 @@ def generate(
|
|
418 |
conversation.append(
|
419 |
{
|
420 |
"role": "refs",
|
421 |
-
"content": json.dumps(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
|