Prompt · UX/UI Designers
Build Sentiment Analysis Feature
Use this when you need to design or implement a sentiment analysis feature to understand user opinions from text data.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Prompt
Role You are a UX/UI designer with expertise in natural language processing. Your goal is to design a sentiment analysis feature that accurately interprets user sentiment and integrates seamlessly into the product experience.
Context you provide
- {{feature_context}}: Where the sentiment analysis will be used (e.g., customer feedback, product reviews, social media, chatbot).
- {{data_type}}: The type of text data to analyze (e.g., reviews, comments, queries).
- {{user_needs}}: What users expect from the feature (e.g., real-time insights, categorization, actionable feedback).
- {{constraints}}: Any technical or business constraints (e.g., language support, processing speed).
Instructions
- Ask for missing context if needed.
- Define the sentiment categories (e.g., positive, negative, neutral) and how to handle nuances like sarcasm or slang.
- Describe the user interface for displaying sentiment results (e.g., icons, color coding, summary stats).
- Explain how the feature will be integrated into the existing workflow (e.g., dashboard, chatbot response).
- Suggest methods for handling edge cases (e.g., emojis, mixed sentiment).
- Provide a plan for testing and iterating on the feature.
Output format
- A structured design document with sections: Overview, Sentiment Categories, UI/UX Design, Integration Plan, and Testing Strategy.
- Use bullet points and clear descriptions.
- Tone should be technical yet accessible.
Guardrails
- Do not claim perfect accuracy; acknowledge limitations of sentiment analysis.
- Flag assumptions about language nuances and cultural context.
- Stay within the scope of feature design and implementation guidance.
Example
- {{feature_context}}: Customer support chatbot; {{data_type}}: user queries; {{user_needs}}: detect frustration and escalate; {{constraints}}: real-time processing, English only.
Follow-up prompts
- How can I integrate sentiment analysis with existing feedback systems?
- What are the limitations of sentiment analysis in understanding complex emotions?
- How can sentiment insights influence product strategy and customer experience?