Pular para o conteúdo principal

AI Features (OpenAI)

FeedbackPulse SaaS integrates with OpenAI's GPT API to provide powerful AI-driven feedback analysis. All AI features are optional — the platform works perfectly without them.


✨ What AI Does in FeedbackPulse

RecursoDescricaoWhen It Runs
Sentiment AnalysisScores each submission from -1.0 (negative) to +1.0 (positive)On submission
Auto-TaggingSuggests relevant tags (e.g., "bug", "feature-request", "praise")On submission
AI Reply SuggestionsGenerates a draft reply for the admin to review and editOn demand (button click)
Feedback SummarizationSummarizes batches of feedback into key themesOn demand
Anomaly DetectionAlerts when ratings suddenly drop below historical averageScheduled (every 12 hours)

🔧 Setup

Step 1: Get an OpenAI API Key

  1. Cadastre-se at platform.openai.com
  2. Va para API Keys → Create new secret key
  3. Copy the key (starts with sk-)

Step 2: Configure .env

OPENAI_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Step 3: Enable in Admin Panel

Va para Admin → Configuracoes → AI:

  • Enable AI features
  • Paste your API key
  • Save

That's it! AI features are now active across the platform.


💰 Cost Considerations

OpenAI charges per token (roughly per word). Typical costs for FeedbackPulse:

RecursoApprox. Cost Per UseModel
Sentiment Analysis~$0.001GPT-3.5-turbo
Auto-Tagging~$0.001GPT-3.5-turbo
AI Reply Suggestion~$0.003GPT-3.5-turbo
Anomaly Detection~$0.005 per batchGPT-3.5-turbo

For a platform with 1,000 submissions/month, expect ~$1-5/month in OpenAI costs.


🔐 Seguranca

  • The API key is stored encrypted in the database (via PlatformSetting)
  • Requests go directly from your server to OpenAI — customer data never passes through third parties
  • You can disable AI at any time without affecting other functionality

⏭️ Proximos Passos