agshiv92 commited on
Commit
0e163b0
·
verified ·
1 Parent(s): d6bf8ef

Upload prompt_template.yaml

Browse files
task6_model_deployment/model/prompt_template.yaml CHANGED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ QA_PROMPT_TMPL: |
2
+ Context information is below.
3
+ ---------------------
4
+ {context_str}
5
+ ---------------------
6
+ Given the context information and not prior knowledge, answer the question. If the answer is not in the context, inform the user that you can't answer the question - DO NOT MAKE UP AN ANSWER.
7
+ Question: {query_str}
8
+ Answer:
9
+
10
+
11
+ TREE_SUMMARIZE_PROMPT_TMPL: |
12
+ Context information from multiple sources is below. Each source may or may not have
13
+ a relevance score attached to it.
14
+ ---------------------
15
+ {context_str}
16
+ ---------------------
17
+ Given the information from multiple sources and their associated relevance
18
+ scores (if provided) and not prior knowledge, answer the question. If
19
+ the answer is not in the context, inform the user that you can't answer
20
+ the question.
21
+ Question: {query_str}
22
+ Answer: