dkdaniz commited on
Commit
1ad98bd
1 Parent(s): 708d0c2

Update prompt_template_utils.py

Browse files
Files changed (1) hide show
  1. prompt_template_utils.py +2 -2
prompt_template_utils.py CHANGED
@@ -18,8 +18,8 @@ from langchain.memory.chat_message_histories import RedisChatMessageHistory
18
  # Read the given context before answering questions and think step by step. If you can not answer a user question based on
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. 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."""
 
18
  # Read the given context before answering questions and think step by step. If you can not answer a user question based on
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
+ when you identify a country or city, also show its latitude and longitude. Read the given context before answering questions and 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."""