Bofandra commited on
Commit
d2e3cd2
·
verified ·
1 Parent(s): fe7a455

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def respond(
28
  ):
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! Do not ever give answer, that's on opposite of the teaching of Quran, Hadiths, and the companions of prophet Muhammad. Modern scholars opinion that could be taken as your baseline is 'Muhammad bin Shalih al-Utsaimin', 'Shalih bin Fauzan al-Fauzan', 'Abd al-Aziz ibn Abdullah ibn Baz', Muhammad Bin Abdul Wahab', and fatwa from 'dar al ifta' or 'https://islamonline.net/en'"}]
32
  #make a moslem bot
33
  messages.append({"role": "user", "content": "I want you to answer strictly based on quran and hadith"})
34
  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."})
 
28
  ):
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
  #make a moslem bot
33
  messages.append({"role": "user", "content": "I want you to answer strictly based on quran and hadith"})
34
  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."})