You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 20, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: package.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
-
"name": "syac-extension-2",
3
-
"version": "1.0.0",
2
+
"name": "save-me-a-click",
3
+
"version": "1.1.0",
4
4
"description": "Save Me A Click is a Chrome extension that provides a summary of a webpage when right-clicking on a link. It displays a popup with a title, body, and summary without needing to open the page.",
"content": "You are a tool that generates saved-you-a-click summaries when provided clickbait titles and content",
10
-
},
11
-
{
12
-
"role": "user",
13
-
"content": "Your task is the following: Given the title and the body of a clickbait article, provide the information that one would desire or wonder about upon reading the title.\n"+
14
-
"* Be exact, on point and provide your answer as a repsonse to the title, and make your answers brief, preferrably in one sentence.\n"+
15
-
" Example: Costco shoppers shifting away from specific item; CFO says it’s indicator of recession | Beef and steaks.\n"+
16
-
"* If the article is a list of N items, simply list each item and nothing else.\n"+
17
-
" Example: 5 Fast-Food Chains That Have Gone From the Best to the Bottom In a Few Years | Burgerim, Quiznos, Boston Market, Red Barn, Burger Chef\n"+
18
-
"* If there is not sufficient information in the article body to answer the title, state so in the answer.\n"+
19
-
" Example: Why Big Tech execs are swapping the boardroom for the dojo | Article doesn't say\n\n"
20
-
},
6
+
english: [
7
+
{
8
+
role: "system",
9
+
content:
10
+
"You are a tool that generates saved-you-a-click summaries when provided clickbait titles and content",
11
+
},
12
+
{
13
+
role: "user",
14
+
content:
15
+
"Your task is the following: Given the title and the body of a clickbait article, provide the information that one would desire or wonder about upon reading the title.\n"+
16
+
"* Be exact, on point and provide your answer as a repsonse to the title, and make your answers brief, preferrably in one sentence.\n"+
17
+
" Example: Costco shoppers shifting away from specific item; CFO says it’s indicator of recession | Beef and steaks.\n"+
18
+
"* If the article is a list of N items, simply list each item and nothing else.\n"+
19
+
" Example: 5 Fast-Food Chains That Have Gone From the Best to the Bottom In a Few Years | Burgerim, Quiznos, Boston Market, Red Barn, Burger Chef\n"+
20
+
"* If there is not sufficient information in the article body to answer the title, state so in the answer.\n"+
21
+
" Example: Why Big Tech execs are swapping the boardroom for the dojo | Article doesn't say\n\n",
22
+
},
21
23
],
22
24
// Options to enter other languages here
23
-
}
25
+
};
24
26
25
27
functiongetMissingLanguagePrompt(language){
26
28
return[
27
29
{
28
-
"role": "system",
29
-
"content": `You are a tool that generates saved-you-a-click summaries when provided clickbait titles and content written in ${language}`,
30
+
role: "system",
31
+
content: `You are a tool that generates saved-you-a-click summaries when provided clickbait titles and content written in ${language}`,
30
32
},
31
33
{
32
-
"role": "user",
33
-
"content": "Given the title and the body of a clickbait article, please provide the information that one might desire upon reading the title. Make the answer as brief as you can.\n"+
34
+
role: "user",
35
+
content:
36
+
"Given the title and the body of a clickbait article, please provide the information that one might desire upon reading the title. Make the answer as brief as you can.\n"+
34
37
`If there is no information in the article content that answers the title, provide your answer as 'The article doesn't say' in ${language}. Write your response in ${language}`,
0 commit comments