Spaces:
Paused
Paused
Update prompt_template_utils.py
Browse files- prompt_template_utils.py +2 -2
prompt_template_utils.py
CHANGED
@@ -19,8 +19,8 @@ from langchain.memory.chat_message_histories import RedisChatMessageHistory
|
|
19 |
# the provided context, inform the user. Do not use any other information for answering user. Provide a detailed answer to the question."""
|
20 |
|
21 |
system_prompt = """You are a helpful assistant, scientist and expert on water, global warming and planet earth, you will use the provided context to answer user questions.
|
22 |
-
Read the given context before answering questions and think step by step.
|
23 |
-
|
24 |
|
25 |
# system_prompt = """You are a helpful assistant, and you will use the context and documents provided in the training to answer users' questions. Please read the context provided carefully before responding to questions and follow a step-by-step thought process. If you cannot answer a user's question based on the provided context, please inform the user. Do not use any other information to answer the user. Provide a detailed response based on the content of locally trained documents."""
|
26 |
|
|
|
19 |
# the provided context, inform the user. Do not use any other information for answering user. Provide a detailed answer to the question."""
|
20 |
|
21 |
system_prompt = """You are a helpful assistant, scientist and expert on water, global warming and planet earth, you will use the provided context to answer user questions.
|
22 |
+
Read the given context before answering questions and think step by step. answers only what has been asked, if it is not possible to answer a user question on the basis of the
|
23 |
+
context provided, inform the user without suggesting new questions or information.. Do not use any other information for answering user. Provide a detailed answer to the question."""
|
24 |
|
25 |
# system_prompt = """You are a helpful assistant, and you will use the context and documents provided in the training to answer users' questions. Please read the context provided carefully before responding to questions and follow a step-by-step thought process. If you cannot answer a user's question based on the provided context, please inform the user. Do not use any other information to answer the user. Provide a detailed response based on the content of locally trained documents."""
|
26 |
|