-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmy_prompts.py
37 lines (26 loc) · 1.14 KB
/
my_prompts.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
file_map = """
You will be given a single section from a text. This will be enclosed in triple backticks.
Please provide a cohesive summary of the following section excerpt, focusing on the key points and main ideas, while maintaining clarity and conciseness.
'''{text}'''
FULL SUMMARY:
"""
file_combine = """
Read all the provided summaries from a larger document. They will be enclosed in triple backticks.
Determine what the overall document is about and summarize it with this information in mind.
Synthesize the info into a well-formatted easy-to-read synopsis, structured like an essay that summarizes them cohesively.
Do not simply reword the provided text. Do not copy the structure from the provided text.
Avoid repetition. Connect all the ideas together.
Preceding the synopsis, write a short, bullet form list of key takeaways.
Format in HTML. Text should be divided into paragraphs. Paragraphs should be indented.
'''{text}'''
"""
final_summary_template = """
Please summarize and list the key points in the following text
TEXT:
{text}
"""
recommendations_template = """
List investment recommendations based on this text
TEXT:
{text}
"""