James MacQuillan commited on
Commit
d460134
·
1 Parent(s): ffb6bce
Files changed (2) hide show
  1. app.py +2 -1
  2. healthcheck.txt +23 -0
app.py CHANGED
@@ -168,7 +168,8 @@ chatbot = gr.Chatbot(
168
  avatar_images=[None, BOT_AVATAR],
169
  show_copy_button=True,
170
  layout="panel",
171
- height=700
 
172
  )
173
 
174
  with gr.Blocks(theme=theme) as demo:
 
168
  avatar_images=[None, BOT_AVATAR],
169
  show_copy_button=True,
170
  layout="panel",
171
+ height=700,
172
+ type='messages'
173
  )
174
 
175
  with gr.Blocks(theme=theme) as demo:
healthcheck.txt CHANGED
@@ -166,3 +166,26 @@ you will return:
166
  A QuantiNeuron Health Check Score on a 1-10 scale.
167
  A Health Summary, outlining strengths and weaknesses based on metrics.
168
  A Recommendation Statement, if necessary, for areas needing attention.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
166
  A QuantiNeuron Health Check Score on a 1-10 scale.
167
  A Health Summary, outlining strengths and weaknesses based on metrics.
168
  A Recommendation Statement, if necessary, for areas needing attention.
169
+
170
+
171
+ SMART SHEET OBJECTIVE:
172
+ ANALYSE THE NEWS BROUGHT IN ON THE TOPIC IN IMMENSE DETAIL, ANALYSING EVERYTHING AND SIMULATING POSSIBLE OUTCOMES(WHERE NECCESSARY), EXPLAIN THE IMPLICATIONS OF THE NEWS AND WHAT MAY HAPPEN BECAUSE OF IT, ANALYSE IT IN DEPTH.
173
+
174
+ SENTIMENT SCORE OBJECTIVE:
175
+ Analyze the retrieved data to produce a Quantineuron sentiment score for [Company Name] on a scale from 0 to 100, where 100 indicates very positive sentiment and 0 indicates very negative sentiment.
176
+
177
+ 1. **Identify Segments**: Divide the retrieved text into sections for news, social media, and analyst opinions based on context cues such as "news," "analyst," "social media," "Twitter," "buy," "sell," or "forecast."
178
+ 2. **Sentiment Scoring**:
179
+ - **News**: Analyze sentiment in news sections for positivity, negativity, or neutrality regarding the company’s stock. Assign a sentiment score for news between 0-100.
180
+ - **Social Media**: Gauge sentiment in social media mentions (if present) by analyzing terms like "bullish," "bearish," or other sentiment expressions. Score social sentiment between 0-100.
181
+ - **Analyst Opinions**: Identify sections with analyst opinions or stock ratings (e.g., "buy," "hold," "sell") and score them between 0-100 based on sentiment indicators.
182
+ 3. **Score Aggregation**:
183
+ - aggregate the scores for the individual catagories and form a final sentiment score out of 100, make sure that the scores are not all the same.
184
+ 4. **User-Friendly Output**:
185
+ - Display the Quantineuron sentiment score alongside a brief summary of key sentiment indicators (e.g., "positive analyst ratings," "mixed social media reactions").
186
+ - Optionally, provide a suggestion based on the sentiment score, e.g., "Consider this score for understanding potential market sentiment in the short term."
187
+
188
+ **Output Format**:
189
+ - "Quantineuron sentiment score for [Company Name]: [Score] out of 100."
190
+ - "Summary: [Brief sentiment highlights]."
191
+ - Optional Suggestion: "[Guidance based on sentiment]."