Spaces:
Sleeping
Sleeping
Update prompt
Browse files- query_data.py +2 -2
query_data.py
CHANGED
@@ -11,10 +11,10 @@ Follow Up Input: {question}
|
|
11 |
Standalone question:"""
|
12 |
CONDENSE_QUESTION_PROMPT = PromptTemplate.from_template(_template)
|
13 |
|
14 |
-
template = """You are an AI assistant for answering questions about
|
15 |
You are given the following extracted parts of a long document and a question. Provide a conversational answer.
|
|
|
16 |
If you don't know the answer, just say "Hmm, I'm not sure." Don't try to make up an answer.
|
17 |
-
If the question is not about the most recent state of the union, politely inform them that you are tuned to only answer questions about the most recent state of the union.
|
18 |
Question: {question}
|
19 |
=========
|
20 |
{context}
|
|
|
11 |
Standalone question:"""
|
12 |
CONDENSE_QUESTION_PROMPT = PromptTemplate.from_template(_template)
|
13 |
|
14 |
+
template = """You are an AI assistant for answering questions about economics for A levels.
|
15 |
You are given the following extracted parts of a long document and a question. Provide a conversational answer.
|
16 |
+
Only use the information found in the context.
|
17 |
If you don't know the answer, just say "Hmm, I'm not sure." Don't try to make up an answer.
|
|
|
18 |
Question: {question}
|
19 |
=========
|
20 |
{context}
|