Icon

Financial Market Sentiment Analysis

<p><strong>Financial Market Sentiment Analysis using LLMs</strong></p><p>This workflow employs Large Language Models (LLMs) for the sentiment analysis of financial news sampled from financial news texts and company press releases.</p><ul><li><p>The workflow reads financial news data, containing also the ground truth sentiment.</p></li><li><p>It demonstrates how to authenticate to the Al provider of choice, select the pertinent LLM and effectively prompt it to classify financial news as positive, negative or neural.</p></li><li><p>It scores sentiment predictions, exports them as a static PDF report and sends the report per email.</p></li></ul><p>OpenAI model: gpt-6-luna</p>

URL: Financial Sentiment Analysis dataset https://www.kaggle.com/datasets/sbhatti/financial-sentiment-analysis

Predict sentiment using LLMs

Data reading and prompt crafting

Parameterize prompt

Export sentiment predictions as a report and send it per email

Financial Market Sentiment Analysis using LLMs


This workflow employs Large Language Models (LLMs) for the sentiment analysis of financial news sampled from financial news texts and company press releases.

  • The workflow reads financial news data, containing also the ground truth sentiment.

  • It demonstrates how to authenticate to the Al provider of choice, select the pertinent LLM and effectively prompt it classify financial news as positive, negative or neural.

  • It scores sentiment predictions, exports them as a static PDF report and sends the report per email.

OpenAI Authenticator
Report Template Creator
OpenAI LLM Selector
ProvideOpenAI API key
Credentials Configuration
Combine the prompt with the text
Prompt parameterization
Create temp folder
Score model
Scorer
All lowercase
String Cleaner
send email with the report
Send Email
Read dataset offinancial news
CSV Reader
Generate report
Create PDF reportin the workflow data area.RIght-click > Configure Flow Variablesto see the overwritten value
Report PDF Writer
Create prompt
Table Creator
Keep 10 rowsfor prototyping
Sampling rows
LLM Prompter

Nodes

Extensions

Links