Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(Sentiment Analysis Node): Implement Sentiment Analysis node #10184

Merged
merged 3 commits into from
Jul 26, 2024

Conversation

OlegIvaniv
Copy link
Contributor

@OlegIvaniv OlegIvaniv commented Jul 25, 2024

Summary

This PR introduces a new Sentiment Analysis node. The node leverages LLM to analyze and categorize the sentiment of input text. Users can easily integrate this node into their workflows to perform sentiment analysis on text data. The node is flexible enough to handle various use cases, from basic positive/negative classification to more nuanced sentiment categories

Features

  • Customizable sentiment categories (default: Positive, Neutral, Negative)
  • Optional detailed results, including sentiment strength and confidence scores
  • Configurable system prompt template
  • Auto-fixing capability for output parsing
  • Dynamic output branches based on defined categories

Review / Merge checklist

@n8n-assistant n8n-assistant bot added n8n team Authored by the n8n team ui Enhancement in /editor-ui or /design-system labels Jul 25, 2024
Copy link
Contributor

✅ All Cypress E2E specs passed

Copy link

cypress bot commented Jul 26, 2024

Passing run #6154 ↗︎

0 388 0 0 Flakiness 0

Details:

🌳 🖥️ browsers:node18.12.0-chrome107 🤖 OlegIvaniv 🗃️ e2e/*
Project: n8n Commit: d76ba468cc
Status: Passed Duration: 04:07 💡
Started: Jul 26, 2024 8:30 AM Ended: Jul 26, 2024 8:34 AM

Review all test suite changes for PR #10184 ↗︎

@OlegIvaniv OlegIvaniv merged commit 8ef0a0c into master Jul 26, 2024
27 checks passed
@OlegIvaniv OlegIvaniv deleted the ai-234-sentiment-analysis-node branch July 26, 2024 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
n8n team Authored by the n8n team ui Enhancement in /editor-ui or /design-system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants