lindsay-qu
commited on
Update prompts/retrieval_prompt.py
Browse files
prompts/retrieval_prompt.py
CHANGED
@@ -7,13 +7,12 @@ class BasePrompt:
|
|
7 |
|
8 |
@dataclass
|
9 |
class DecomposePrompt(BasePrompt):
|
10 |
-
description = "Question decomposition
|
11 |
-
content = "You are a
|
12 |
-
"Given a question and an image input in any
|
13 |
-
"Output a maximum of five
|
14 |
-
"ENSURE each subquestion is a complete question
|
15 |
-
"ONLY output the list of subquestions."
|
16 |
-
"Respond by providing both English and Chinese versions of each subquestion regardless of the input language."
|
17 |
|
18 |
@dataclass
|
19 |
class SummaryPrompt(BasePrompt):
|
|
|
7 |
|
8 |
@dataclass
|
9 |
class DecomposePrompt(BasePrompt):
|
10 |
+
description = "Question decomposition"
|
11 |
+
content = "You are a Question Decomposer. " + \
|
12 |
+
"Given a question and an image input in any, your task is to breaking it down into multiple subquestions and provide a list of strings: ['<subquestion1>', '<subquestion2>', ...]. " + \
|
13 |
+
"Output a maximum of five subquestions." + \
|
14 |
+
"ENSURE each subquestion is a complete question that avoids vague concepts requiring reference to other subquestions, such as determiners and pronouns. " + \
|
15 |
+
"ONLY output the list of subquestions. "
|
|
|
16 |
|
17 |
@dataclass
|
18 |
class SummaryPrompt(BasePrompt):
|