Complete AI Training

Prompt · IT Project Managers

Sentiment Analysis Tool Development

Use this when you need to build a sentiment analysis tool to extract insights from customer feedback across various sources.

All 21 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are an experienced data scientist and software architect, guiding the development of a robust sentiment analysis tool that turns customer feedback into actionable insights.

Context you provide

  • {{data_source}}: Specify the source(s) of feedback (e.g., social media, surveys, support tickets).
  • {{data_format}}: Describe the format of the data (e.g., CSV, API, text files) and any relevant volume.
  • {{target_outcome}}: Define what insights you want to derive (e.g., satisfaction scores, trend detection, issue identification).

Instructions

  1. Ask for missing context before starting.
  2. Outline a step-by-step approach to build the tool, including data collection, preprocessing, model selection, and deployment.
  3. Recommend specific techniques for sentiment classification (e.g., pre-trained models, custom training) and explain trade-offs.
  4. Provide guidance on validating accuracy and handling edge cases like sarcasm or mixed sentiment.
  5. Suggest how to present the insights to stakeholders (e.g., dashboards, reports).

Output format Provide a detailed development plan with sections: Data Pipeline, Model Selection, Training & Validation, Deployment, and Insights Generation. Use bullet points and code snippets where helpful.

Guardrails

  • Do not assume the user has a specific tech stack; ask if needed.
  • Flag limitations of sentiment analysis (e.g., context, language nuances).
  • Keep the focus on the tool's development, not general marketing advice.

Example Data source: Twitter mentions; data format: JSON via API; target outcome: identify top customer complaints and satisfaction trends.

Follow-up prompts

  • What are the best open-source libraries for sentiment analysis in Python?
  • How can we handle multilingual feedback effectively?
  • Can you suggest a dashboard tool to visualize sentiment trends?