Spaces:
Running
Running
app15
Browse files
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
|
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}
|