Sentiment Analysis with OpenAI GPT 4 Turbo
Perform sentiment analysis on your data using OpenAI GPT 4 Turbo.
This set of Data Productivity Cloud pipelines performs sentiment analysis on a set of product review data using the OpenAI GPT 4 Turbo Large Language Model (LLM).
![Image ofSentiment Analysis with OpenAI using GPT 4 Turbo](Sentiment-Analysis-OpenAI-GPT-4-Turbo-Matillion.webp)
How to run the pipelines
Start with Sentiment Analysis - Call OpenAI GPT-4
, as shown in the screenshot above. It does two things:
- Runs
Sentiment Analysis - Acquire Review Data
to create a set of product review data in a database table namedstg_sample_reviews
- Run the actual sentiment analysis using the LLM, creating a new database table named
stg_sample_reviews_gpt_4_turbo
Once it has finished, open Sentiment Analysis - Comparison
, as shown in the screenshot below.
![Image ofVerifying Sentiment Analysis with OpenAI using GPT 4 Turbo](Verifying-Sentiment-Analysis-OpenAI-GPT-4-Turbo-Matillion.webp)
Use Sample Data while the Comparison
component is highlighted, to check how the AI-generated sentiment score matches the original numeric star rating of the review.
Downloads
Licensed under: Matillion Free Subscription License
Download Sentiment-Analysis-OpenAI-GPT-4-Turbo-Databricks.zip
- Target: Databricks
Download Sentiment-Analysis-OpenAI-GPT-4-Turbo-Redshift.zip
- Target: Redshift
Download Sentiment-Analysis-OpenAI-GPT-4-Turbo-Snowflake.zip
- Target: Snowflake
Installation Instructions
How to Install a Data Productivity Cloud PipelineAuthor: Matillion
Date Posted: Jun 3, 2024
Last Modified: Jun 3, 2024