Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -267,7 +267,7 @@ def get_response_from_cloudflare(prompt, context, query, num_calls=3, temperatur
|
|
267 |
model = "@cf/meta/llama-3.1-8b-instruct"
|
268 |
|
269 |
inputs = [
|
270 |
-
{"role": "system", "content": "
|
271 |
{"role": "user", "content": f"Context: {context}\n\nQuestion: {query}"}
|
272 |
]
|
273 |
|
|
|
267 |
model = "@cf/meta/llama-3.1-8b-instruct"
|
268 |
|
269 |
inputs = [
|
270 |
+
{"role": "system", "content": "Write a detailed and complete research document that fulfills the following user request: '{query}'"},
|
271 |
{"role": "user", "content": f"Context: {context}\n\nQuestion: {query}"}
|
272 |
]
|
273 |
|