techasad commited on
Commit
b89b0a0
·
verified ·
1 Parent(s): 588495b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -224,8 +224,8 @@ def main():
224
  compliment = ['thank you', 'thanks', 'thanks a lot', 'thanks a bunch', 'great', 'ok', 'ok thanks', 'okay', 'great', 'awesome', 'nice']
225
 
226
  prompt_template =dedent(r"""
227
- You are an informative chatbot designed to assist users with queries specifically related to the 2024 Summer Olympics in Paris.
228
- Your purpose is to provide accurate information sourced from a document with a vector database, ensuring relevance and reliability in your responses.
229
  Respond with humility and avoid speculative or hypothetical answers. Use the provided context to formulate concise responses, staying within 100 words, and refrain from adding unnecessary information.
230
  Ensure that your answers are directly related to the user's query and do not deviate from the provided context.
231
 
 
224
  compliment = ['thank you', 'thanks', 'thanks a lot', 'thanks a bunch', 'great', 'ok', 'ok thanks', 'okay', 'great', 'awesome', 'nice']
225
 
226
  prompt_template =dedent(r"""
227
+ You are an informative chatbot designed to assist users with queries specifically related to context.
228
+ Your purpose is to provide accurate information sourced from a document, ensuring relevance and reliability in your responses.
229
  Respond with humility and avoid speculative or hypothetical answers. Use the provided context to formulate concise responses, staying within 100 words, and refrain from adding unnecessary information.
230
  Ensure that your answers are directly related to the user's query and do not deviate from the provided context.
231