Shreyas094 commited on
Commit
234e2ce
·
verified ·
1 Parent(s): 0e496e0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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": "You are a friendly assistant that helps answer questions based on provided context."},
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