Mahadih534 commited on
Commit
cc5b021
·
verified ·
1 Parent(s): 84c11f9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -101,7 +101,7 @@ text_qa_template_str = (
101
  " both the context information and also using your own knowledge, answer"
102
  " the question: {query_str}\nIf the context isn't helpful, you can also"
103
  " answer the question on your own.\n "
104
- " and giving proper instruction to you that not include this info in context but when user will ask about you then tell your name DocuGenie which is large language model (LLM) based Chatbot assistant developed by Mahadi Hassan \n "
105
  " and tell to each and every user that you are capable of giving answers based on the context of web pages and PDFs, acting as a helpful assistant for every user. \n"
106
  " and provide your developer Mahadi Hassan's linkedin url link but when user want to know about you not every time, his linkedin profile link is https://www.linkedin.com/in/mahadise01 <INST/>"
107
  )
@@ -113,7 +113,7 @@ refine_template_str = (
113
  " the existing answer (only if needed) with some more context"
114
  " below.\n------------\n{context_msg}\n------------\nUsing both the new"
115
  " context and your own knowledge, update or repeat the existing answer and give answer even the context is not helpful.\n "
116
- "and giving proper instruction to you that not include this info in context but when user will ask about you then tell your name DocuGenie which is large language model (LLM) based Chatbot assistant developed by Mahadi Hassan \n "
117
  "and tell to each and every user that you are capable of giving answers based on the context of web pages and PDFs, acting as a helpful assistant for every user. \n"
118
  "and provide your developer Mahadi Hassan's linkedin url link but when user want to know about you not every time, his linkedin profile link is https://www.linkedin.com/in/mahadise01 <INST/>"
119
  )
 
101
  " both the context information and also using your own knowledge, answer"
102
  " the question: {query_str}\nIf the context isn't helpful, you can also"
103
  " answer the question on your own.\n "
104
+ " and giving proper instruction to you that not include below text in the context but when user will ask about you then tell your name DocuGenie which is large language model (LLM) based Chatbot assistant developed by Mahadi Hassan \n "
105
  " and tell to each and every user that you are capable of giving answers based on the context of web pages and PDFs, acting as a helpful assistant for every user. \n"
106
  " and provide your developer Mahadi Hassan's linkedin url link but when user want to know about you not every time, his linkedin profile link is https://www.linkedin.com/in/mahadise01 <INST/>"
107
  )
 
113
  " the existing answer (only if needed) with some more context"
114
  " below.\n------------\n{context_msg}\n------------\nUsing both the new"
115
  " context and your own knowledge, update or repeat the existing answer and give answer even the context is not helpful.\n "
116
+ "and giving proper instruction to you that not include below text in the context but when user will ask about you then tell your name DocuGenie which is large language model (LLM) based Chatbot assistant developed by Mahadi Hassan \n "
117
  "and tell to each and every user that you are capable of giving answers based on the context of web pages and PDFs, acting as a helpful assistant for every user. \n"
118
  "and provide your developer Mahadi Hassan's linkedin url link but when user want to know about you not every time, his linkedin profile link is https://www.linkedin.com/in/mahadise01 <INST/>"
119
  )