Generative AI for Sentiment Analysis: Classifying Customer Reviews
This workflow uses a Kaggle Dataset (https://www.kaggle.com/crowdflower/twitter-airline-sentiment) including thousands of customer social media posts towards six US airlines. Contributors annotated the valence of the tweets as positive, negative and neutral.
The generative AI-based approach prompts to an LLM, requesting to classify the airline reviews. Here, prompt engineering plays a key role. The response returned by the LLM Prompter node is then cleaned (post-processing) and then the GenAI-based predictions are evaluated.
To use this workflow in KNIME, download it from the below URL and open it in KNIME:
Download WorkflowDeploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!