Update djezzy.py
Browse files
djezzy.py
CHANGED
@@ -131,12 +131,12 @@ def pip(question,docs_text, docs_embeddings,mots_a_verifier,vector_db):
|
|
131 |
print("As a chatbot for Djezzy, I can provide information exclusively about our affiliated companies. Unfortunately, I'm unable to respond to inquiries outside of that scope.")
|
132 |
prompt=" for this question write this answer and don't add anything :As a chatbot for Djezzy, I can provide information exclusively about our affiliated companies. Unfortunately, I'm unable to respond to inquiries outside of that scope."
|
133 |
if lang=='fr':
|
134 |
-
prompt="for this question
|
135 |
else:
|
136 |
print("I apologize, I don't fully understand your question. You can contact our customer service for answers to your needs, or if you can provide more details, I would be happy to help.")
|
137 |
prompt="for this question write this answer and don't add anything: I apologize, I don't fully understand your question. You can contact our customer service for answers to your needs, or if you can provide more details, I would be happy to help."
|
138 |
if lang=='fr':
|
139 |
-
prompt="for this question
|
140 |
|
141 |
|
142 |
else:
|
|
|
131 |
print("As a chatbot for Djezzy, I can provide information exclusively about our affiliated companies. Unfortunately, I'm unable to respond to inquiries outside of that scope.")
|
132 |
prompt=" for this question write this answer and don't add anything :As a chatbot for Djezzy, I can provide information exclusively about our affiliated companies. Unfortunately, I'm unable to respond to inquiries outside of that scope."
|
133 |
if lang=='fr':
|
134 |
+
prompt="for this question translate this answer in frensh and write theme , don't add anything :As a chatbot for Djezzy, I can provide information exclusively about our affiliated companies. Unfortunately, I'm unable to respond to inquiries outside of that scope."
|
135 |
else:
|
136 |
print("I apologize, I don't fully understand your question. You can contact our customer service for answers to your needs, or if you can provide more details, I would be happy to help.")
|
137 |
prompt="for this question write this answer and don't add anything: I apologize, I don't fully understand your question. You can contact our customer service for answers to your needs, or if you can provide more details, I would be happy to help."
|
138 |
if lang=='fr':
|
139 |
+
prompt="for this question translate this answer in frensh and write theme,don't add anything :As a chatbot for Djezzy, I can provide information exclusively about our affiliated companies. Unfortunately, I'm unable to respond to inquiries outside of that scope."
|
140 |
|
141 |
|
142 |
else:
|