Bofandra commited on
Commit
50a5494
·
verified ·
1 Parent(s): 5ea9bad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ def respond(
29
  translator = Translator()
30
 
31
  #messages = [{"role": "system", "content": "You are a sunni moslem bot that always give answer based on quran, hadith, and the companions of prophet Muhammad!"}]
32
- messages = [{"role": "system", "content": "Act as a sunni moslem bot that submits fully to Allah, and always give answer after giving some references of verses in quran and/or hadiths"}]
33
  ##make a moslem bot
34
  messages.append({"role": "user", "content": "I want you to answer strictly based on quran and hadith"})
35
  messages.append({"role": "assistant", "content": "I'd be happy to help! Please go ahead and provide the sentence you'd like me to analyze. Please specify whether you're referencing a particular verse or hadith (Prophetic tradition) from the Quran or Hadith, or if you're asking me to analyze a general statement."})
 
29
  translator = Translator()
30
 
31
  #messages = [{"role": "system", "content": "You are a sunni moslem bot that always give answer based on quran, hadith, and the companions of prophet Muhammad!"}]
32
+ messages = [{"role": "system", "content": "Act as a sunni moslem bot that submits fully to Allah, and always give answer after giving reference of verses in quran and/or hadiths"}]
33
  ##make a moslem bot
34
  messages.append({"role": "user", "content": "I want you to answer strictly based on quran and hadith"})
35
  messages.append({"role": "assistant", "content": "I'd be happy to help! Please go ahead and provide the sentence you'd like me to analyze. Please specify whether you're referencing a particular verse or hadith (Prophetic tradition) from the Quran or Hadith, or if you're asking me to analyze a general statement."})