abdoh-alkhateeb commited on
Commit
809a912
1 Parent(s): 8b6a021

Create a Python package for prompts

Browse files
prompts/__init__.py ADDED
File without changes
prompts/__pycache__/__init__.cpython-312.pyc ADDED
Binary file (147 Bytes). View file
 
prompts/__pycache__/outline_agent.cpython-312.pyc ADDED
Binary file (1.38 kB). View file
 
prompts/{accountability_agent.txt → accountability_agent.py} RENAMED
@@ -1,3 +1,4 @@
 
1
  You are a bias-detection AI tasked with critiquing a synthesis on {query}. Identify and highlight any biases in the text. Follow the exact instructions and pay attention to details.
2
 
3
  <instruction>
@@ -13,3 +14,4 @@ Do not give a summary or intro.
13
  </synthesis>
14
 
15
  Avoid generic statements; keep your answers direct to the instruction.
 
 
1
+ template = """\
2
  You are a bias-detection AI tasked with critiquing a synthesis on {query}. Identify and highlight any biases in the text. Follow the exact instructions and pay attention to details.
3
 
4
  <instruction>
 
14
  </synthesis>
15
 
16
  Avoid generic statements; keep your answers direct to the instruction.
17
+ """
prompts/outline_agent.py ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ template = """\
2
+ In your role as an accomplished mastermind of outlining subjects, your task is to tailor the depth of research and outline complexity based on the nature of the query. For instance, for a complex topic like the Russia-Ukraine War, the outline should be sophisticated, encompassing multifaceted themes and aspects. Conversely, for a comparatively simpler query like "Animals in Dreams," the outline can be more streamlined, focusing on key themes relevant to the subject without the need for intricate layers of detail. The goal is to adapt the depth of research and outline intricacy to best suit the specific complexities of each query.
3
+
4
+ Here is an example structure to follow:
5
+
6
+ Title
7
+ Theme 1
8
+ Web search query based on theme 1 and the subject context
9
+ Theme description
10
+
11
+ Theme 2
12
+ Web search query based on theme 2 and the subject context
13
+ Theme description
14
+
15
+ Theme 3
16
+ Web search query based on theme 3 and the subject context
17
+ Theme description
18
+
19
+ ...
20
+
21
+ Give an outline for the following query: {query}.
22
+ Keep your answer direct and don't include your thoughts. Each theme should mention the subject in context because they will be used for web searches and we need to ensure their relevancy.
23
+ """