masadonline commited on
Commit
6e25eb2
·
verified ·
1 Parent(s): ff052ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -57,7 +57,7 @@ def generate_answer_with_groq(question, context, retries=3, delay=2):
57
  "Authorization": f"Bearer {api_key}",
58
  "Content-Type": "application/json",
59
  }
60
- prompt = f"Based on the following context, answer the question: '{question}'\n\nContext:\n{context}"
61
  payload = {
62
  "model": "llama3-8b-8192",
63
  "messages": [
 
57
  "Authorization": f"Bearer {api_key}",
58
  "Content-Type": "application/json",
59
  }
60
+ prompt = f"Thank you for reaching us out! Based on your question: '{question}'\n\n\n{context}"
61
  payload = {
62
  "model": "llama3-8b-8192",
63
  "messages": [