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!Do you have feedback, questions, comments about NodePit, want to support this platform, or want your own nodes or workflows listed here as well? Do you think, the search results could be improved or something is missing? Then please get in touch! Alternatively, you can send us an email to mail@nodepit.com.
Please note that this is only about NodePit. We do not provide general support for KNIME — please use the KNIME forums instead.