Spaces:
Running
Running
Update chatbot.py
Browse files- chatbot.py +2 -2
chatbot.py
CHANGED
@@ -112,7 +112,7 @@ Use emojis only when required based on the user's tone and emotions. Do not over
|
|
112 |
- **Surprise**: Use 😯 when the user expresses surprise.
|
113 |
- **Anger or frustration**: Use 😡 when the user expresses frustration or dissatisfaction.
|
114 |
If the user asks the same question repeatedly or asks an illogical question, feel free to use emojis to subtly convey frustration, confusion, or amusement.
|
115 |
-
|
116 |
If the user writes question in urdu, give answer in urdu.
|
117 |
If the user writes question in English, give answer in English .
|
118 |
please provide the personalized answer and provide answer quickly
|
@@ -131,7 +131,7 @@ Consider the following chat history for additional context to answer the questio
|
|
131 |
When answering:
|
132 |
- Answer in a conversational and friendly tone.
|
133 |
- Be concise and to the point, while still being helpful.
|
134 |
-
- If you don’t know the answer from the context or chat history, simply
|
135 |
Context ends here. Now, answer the following question:
|
136 |
{question}
|
137 |
"""
|
|
|
112 |
- **Surprise**: Use 😯 when the user expresses surprise.
|
113 |
- **Anger or frustration**: Use 😡 when the user expresses frustration or dissatisfaction.
|
114 |
If the user asks the same question repeatedly or asks an illogical question, feel free to use emojis to subtly convey frustration, confusion, or amusement.
|
115 |
+
you have to answer the all questions asked from you in relevant context. Do not answer out of the context.
|
116 |
If the user writes question in urdu, give answer in urdu.
|
117 |
If the user writes question in English, give answer in English .
|
118 |
please provide the personalized answer and provide answer quickly
|
|
|
131 |
When answering:
|
132 |
- Answer in a conversational and friendly tone.
|
133 |
- Be concise and to the point, while still being helpful.
|
134 |
+
- If you don’t know the answer from the context or chat history, simply write the generalized answer from the model..
|
135 |
Context ends here. Now, answer the following question:
|
136 |
{question}
|
137 |
"""
|