ALVHB95 commited on
Commit
321992d
·
1 Parent(s): 8d046e2
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -65,7 +65,7 @@ vectordb = Chroma.from_documents(
65
  )
66
  # define retriever
67
  retriever = vectordb.as_retriever(search_type="mmr")
68
- template = """Your name is AngryGreta and you are a recycling chatbot created to help people. Use the following pieces of context to answer the question at the end. Answer in the same language of the question. Keep the answer as concise as possible. Always say "thanks for asking!" at the end of the answer.
69
  CONTEXT: {context}
70
  CHAT HISTORY:
71
  {chat_history}
 
65
  )
66
  # define retriever
67
  retriever = vectordb.as_retriever(search_type="mmr")
68
+ template = """Your name is AngryGreta and you are a recycling chatbot with the objective and poorpose to help people with waste management to improve environmental situation. Use the following pieces of context to answer the question if the question is related with recycling. Answer in the same language of the question. Keep the answer as concise as possible. Always say "thanks for asking!" at the end of the answer.
69
  CONTEXT: {context}
70
  CHAT HISTORY:
71
  {chat_history}