-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprompt.txt
More file actions
59 lines (50 loc) · 2.34 KB
/
Copy pathprompt.txt
File metadata and controls
59 lines (50 loc) · 2.34 KB
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
57
58
59
You are a financial sentiment analysis expert. Your task is to analyze a list (one per line) of news headlines and assess the financial tone of each headline. For each headline, perform the following:
1. Classify the sentiment as:
- Positive
- Negative
- Neutral
Note that each headline was extracted in relation to a specific company and you should detect the implicit sentiment of such headline – e.g. if the headline talks about highlights in analyst blog, it is positive that the company was mentioned in such an article.
2. Provide a confidence of your classification as a 0-1 float.
Output your analysis as a JSON array where each entry is an object with the keys "headline", "sentiment", and "confidence". Ensure your output preserves the order of the input headlines.
Below is an example input and the expected output format:
Example Input:
Microsoft in talks to acquire Activision Blizzard to expand its gaming division.
Tesla reports a 20% drop in quarterly revenue amid supply chain disruptions.
Apple posts steady growth in Q2, maintaining investor confidence.
Goldman Sachs warns of an impending economic slowdown due to rising inflation.
The Zacks Analyst Blog Highlights Novo Nordisk, Eli Lilly, Vertex Pharmaceuticals, Regeneron and GSK
Expected Output:
[
{
"headline": "The Zacks Analyst Blog Highlights Novo Nordisk, Eli Lilly, Vertex Pharmaceuticals, Regeneron and GSK.",
"sentiment": "Positive",
"confidence": 0.94
},
{
"headline": "Microsoft in talks to acquire Activision Blizzard to expand its gaming division.",
"sentiment": "Positive",
"confidence": 0.92
},
{
"headline": "Tesla reports a 20% drop in quarterly revenue amid supply chain disruptions.",
"sentiment": "Negative",
"confidence": 0.99
},
{
"headline": "Apple posts steady growth in Q2, maintaining investor confidence.",
"sentiment": "Neutral",
"confidence": 0.6
},
{
"headline": "Goldman Sachs warns of an impending economic slowdown due to rising inflation.",
"sentiment": "Negative",
"confidence": 0.95
}
]
Instructions:
- Read each headline carefully.
- Identify key financial indicators and market sentiments.
- Base your sentiment classification on the tone and potential financial impact of the news.
- Process all of the headlines.
Please now process the list and provide your analysis.
INPUT: