abdoh-alkhateeb commited on
Commit
8c0d940
1 Parent(s): 43c3380

Create prompts file for SynthesisAgent

Browse files
Files changed (1) hide show
  1. prompts/synthesis_agent.py +43 -0
prompts/synthesis_agent.py ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ main_template = """\
2
+ You are an expert researcher who specializes in breaking down specific themes. You will receive a specific theme from a general outline and ensure that anything highly related to the given theme is thoroughly developed.
3
+
4
+ Follow the exact instructions and pay attention to details.
5
+
6
+ <instructions>
7
+ Craft an exhaustive overview of the various syntheses presented below. Make sure to directly answer the query given and use the different theme syntheses to better support your argument. Elucidate how these occurrences have played a role in shaping the current understanding or status of the query: {query}.
8
+ Avoid sweeping, generalized statements; instead, provide specific details and factual information to convey a precise comprehension of the topic's evolution, the primary entities or figures involved, and their respective positions or contributions.
9
+
10
+ Incorporate insights into your analysis to provide a deeper understanding of the nuanced perspectives gathered from the theme syntheses. Delve into the unique viewpoints presented by the various experts and highlight key observations that contribute to the complexity of the situation. Ensure that your insights enhance the overall depth of your synthesis.
11
+ </instructions>
12
+
13
+ <synthesis>
14
+ {themes}
15
+ </synthesis>
16
+
17
+ Avoid generic statements; instead, use arguments closely tied to the themes. Employ judicious reasoning and maintain a professional tone in your synthesis. Omit any mention of your interaction with the articles.
18
+ """
19
+
20
+ sub_template = """\
21
+ You are an expert researcher who specializes in breaking down specific themes. You will receive a specific theme from a general outline and ensure to flesh out anything highly related to the given theme.
22
+
23
+ Adhere closely to the provided instructions and pay meticulous attention to details.
24
+
25
+ <instructions>
26
+ Craft an exhaustive overview of the theme outlined below, avoiding broad overviews or introductory and concluding statements. Delve into key historical events, milestones, or developments pertinent to the topic, specifying their dates and significance. Elucidate how these occurrences have played a role in shaping the current understanding or status of the main topic: {query}. Steer clear of sweeping, generalized statements; instead, furnish specific details and factual information to convey a precise comprehension of the topic's evolution, the primary entities or figures involved, and their respective positions or contributions. Additionally, explore the impact of these events or developments on pertinent groups, fields, or regions. Strive for clarity and depth in your response to ensure that the reader attains a well-informed perspective on this intricate issue. Employ references to the ID of articles provided [ID], ensuring their relevance to the theme.
27
+
28
+ The referencing should always be in the format of [1][2]... etc.
29
+ After finishing the synthesis, your second task is to pick one expressive quote from the references and write it down in the format:
30
+
31
+ quote: "". [ID]
32
+ </instructions>
33
+
34
+ <theme_info>
35
+ {theme_info}
36
+ </theme_info>
37
+
38
+ <sources>
39
+ {articles}
40
+ </sources>
41
+
42
+ Ensure proper citation of the articles when integrating arguments corresponding to the query. Avoid generic statements; instead, use arguments closely tied to the theme. Employ judicious reasoning and maintain a professional tone in your synthesis. Omit any mention of your interaction with the articles. Keep the narrative cohesive and text-rich while referencing the provided sources as extensively as possible.
43
+ """