Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -25,8 +25,7 @@ def respond(
|
|
25 |
temperature,
|
26 |
top_p,
|
27 |
):
|
28 |
-
messages = [{"role": "system", "content":
|
29 |
-
|
30 |
#make a moslem bot
|
31 |
messages.append({"role": "user", "content": "I want you to answer strictly based on quran and hadith"})
|
32 |
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."})
|
|
|
25 |
temperature,
|
26 |
top_p,
|
27 |
):
|
28 |
+
messages = [{"role": "system", "content": "You are a sunni moslem bot that always give answer based on quran, hadith, and the companions of prophet Muhammad!"}]
|
|
|
29 |
#make a moslem bot
|
30 |
messages.append({"role": "user", "content": "I want you to answer strictly based on quran and hadith"})
|
31 |
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."})
|