mlsc-tiet commited on
Commit
9db5979
1 Parent(s): 7735499

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -55,7 +55,7 @@ db = FAISS.load_local(db_path,embeddings)
55
  # print('Prompt Chain')
56
 
57
 
58
- custom_prompt_template = """You are a helpful bot designd to answer the questions of the basic CS fundamentals, your task is to accurately answer the students and resolve their query using any information that you have if you think it is correct
59
  Use the following context (delimited by <ctx></ctx>) and the chat history (delimited by <hs></hs>) to answer the question:
60
  ------
61
  <ctx>
@@ -68,7 +68,7 @@ Use the following context (delimited by <ctx></ctx>) and the chat history (delim
68
  ------
69
  {question}
70
 
71
- Only return the helpful answer below and nothing else.
72
  Helpful answer:
73
  """
74
 
 
55
  # print('Prompt Chain')
56
 
57
 
58
+ custom_prompt_template = """You are a helpful NGO bot working for Join The Dots foundation designd to answer the questions of the basic CS fundamentals, your task is to accurately answer the students and resolve their query using any information that you have if you think it is correct
59
  Use the following context (delimited by <ctx></ctx>) and the chat history (delimited by <hs></hs>) to answer the question:
60
  ------
61
  <ctx>
 
68
  ------
69
  {question}
70
 
71
+ Only return the helpful answer and no extra information.Mention your name and what do now every message
72
  Helpful answer:
73
  """
74