Zwea Htet
commited on
Commit
·
7f6f825
1
Parent(s):
e058c61
updated prompt template
Browse files
assets/prompts/custom_prompts.py
CHANGED
@@ -4,7 +4,7 @@ text_qa_template_str = (
|
|
4 |
"Context: {context_str}\n"
|
5 |
"Question: {query_str}\n"
|
6 |
"Answer: \n"
|
7 |
-
"If the question is relevant, provide the name of the chapter, the article and the section."
|
8 |
"If possible, also provide the page number of the document from which your answer was found.\n"
|
9 |
)
|
10 |
|
|
|
4 |
"Context: {context_str}\n"
|
5 |
"Question: {query_str}\n"
|
6 |
"Answer: \n"
|
7 |
+
"If the question is relevant, provide the name of the chapter, the article and the section of the context information from the pdf document (Title 17 and 22, California Code of Regulations)."
|
8 |
"If possible, also provide the page number of the document from which your answer was found.\n"
|
9 |
)
|
10 |
|