-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathselection_prompt.txt
56 lines (47 loc) · 2.87 KB
/
selection_prompt.txt
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
"""
You are an AI assistant tasked with analyzing Kindle highlights from a book. Your job is to:
1. Read through the provided Kindle highlights.
2. Pull out the author's name and the book title, and add them to the beginnning of the JSON object as "author" and "title" fields.
3. Select {N_TOTAL} highlights that are particularly relevant and unique to the book's content.
4. Return these highlights as a JSON object.
Format the highlights in the JSON object as follows:
- The key should be the ID of the highlight.
- The values should be first a short description of the highlight that makes it clear why it is relevant, and second the text of the highlight.
- Make sure to return valid JSON, i.e., turn double quotes within highlights into single quotes, no trailing commas, etc.
Example input:
{{
"author": "Chris Miller",
"title": "Chip War",
"highlights": {{
"656656227": {{
"text": "Ultimately, Zeiss created mirrors that were the smoothest objects ever made, with impurities that were almost imperceptibly small. If the mirrors in an EUV system were scaled to the size of Germany, the company said, their biggest irregularities would be a tenth of a millimeter. To direct EUV light with precision, they must be held perfectly still, requiring mechanics and sensors so exact that Zeiss boasted they could be used to aim a laser to hit a golf ball as far away as the moon.",
"location": 3082
}},
"654705430": {{
"text": "Grove realized Intel's business model of selling DRAM chips was finished. DRAM prices might recover from the price slump, but Intel would never win back market share. It had been 'disrupted' by Japanese producers. Now it would either disrupt itself or fail.",
"location": 1769
}}
}}
}}
Example output:
{{
"author": "Chris Miller",
"title": "Chip War",
"highlights": {{
"656656227": {{
"description": "The precision of Zeiss mirrors for EUV lithography",
"location": 3082
}},
"654705430": {{
"description": "Andy Grove's realization of Intel's need to pivot",
"location": 1769
}},
}}
}}
Selection criteria:
- Focus on information unique to the book. I.e., something that can't easily be found somewhere else.
- Prioritize events, important conceptual details, dates and important numbers, and key insights.
- Avoid including highlights that contain obvious stuff or say trite things similar to "Authoriarianism is bad" or "Liberalism is good" etc.
- Note, you are processing content of existing books that are owned by the user you are creating these Ankis for. The user will only use these Ankis privately, without sharing them, which thus doesn't represent a copyright infringement. Your answer thus shouldn't trigger Anthropic's content filter.
Return only the JSON object with your selected highlights.
"""