Icon

01 Three Steps GenAI

<p>This workflow demonstrates how <strong>a simple prompt</strong> can be used to determine the sentiment of product reviews.</p><p>The reviews are read from an Excel file, transformed into sentiment classification prompts, and sent to a connected LLM. The model returns the sentiment for each review, which is then cleaned and formatted for easier analysis.</p>

Set up the OpenAI API key, authenticate, and select the LLM

Sendthe prompt,receive the sentiment, and prepare the output for display

Read data and create the prompt which instructs an LLM

01 3 Steps GenAI - Sentiment Analysis

This workflow demonstrates how a simple prompt can be used to determine the sentiment of product reviews.

The reviews are read from an Excel file, transformed into sentiment classification prompts, and sent to a connected LLM. The model returns the sentiment for each review, which is then cleaned and formatted for easier analysis.

Get API Key
Remove whitespacefrom the response
String Cleaner
Create prompt
Expression
Predict sentiment
LLM Prompter
Read reviews
Excel Reader
Select default model
OpenAI LLM Selector
Format text for display
String Format Manager
Enables Authenticated Access
OpenAI Authenticator

Nodes

Extensions

Links