@tpmjs/feedback-themes
Extracts themes and sentiment from customer feedback text. Identifies recurring themes, scores sentiment per theme, and provides frequency counts.
Test @tpmjs/feedback-themes (feedbackThemesTool) with AI-powered execution
0/2000 characters
Install this tool and use it with the AI SDK
npm install @tpmjs/feedback-themespnpm add @tpmjs/feedback-themesyarn add @tpmjs/feedback-themesbun add @tpmjs/feedback-themesdeno add npm:@tpmjs/feedback-themesimport { feedbackThemesTool } from '@tpmjs/feedback-themes';import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { feedbackThemesTool } from '@tpmjs/feedback-themes';
const result = await generateText({
model: openai('gpt-4o'),
tools: { feedbackThemesTool },
prompt: 'Your prompt here...',
});
console.log(result.text);How AI agents can use this tool
Use this tool to analyze customer feedback, identify common themes, track sentiment trends, and prioritize product improvements based on customer voice.
Sentiment analysis is keyword-based. For complex sentiment, consider using an AI model. Requires sufficient feedback volume for meaningful themes.
(feedback: string[]) => Promise<unknown>Available configuration options
feedbackstring[]Array of customer feedback entries
Schema extracted: 2/28/2026, 4:01:48 AM
ERROR: No README data found!
Downloads/month
20
GitHub Stars
0
Quality Score