Home/Tools/@tpmjs/official-survey-analyze

surveyAnalyzeTool

@tpmjs/official-survey-analyze

Analyzes employee survey responses to extract themes, sentiment, and action items

Official
hr
v0.1.1
MIT

Interactive Playground

Test @tpmjs/official-survey-analyze (surveyAnalyzeTool) with AI-powered execution

0/2000 characters

Installation & Usage

Install this tool and use it with the AI SDK

1. Install the package

npm install @tpmjs/official-survey-analyze
pnpm add @tpmjs/official-survey-analyze
yarn add @tpmjs/official-survey-analyze
bun add @tpmjs/official-survey-analyze
deno add npm:@tpmjs/official-survey-analyze

2. Import the tool

import { surveyAnalyzeTool } from '@tpmjs/official-survey-analyze';

3. Use with AI SDK

import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { surveyAnalyzeTool } from '@tpmjs/official-survey-analyze';

const result = await generateText({
  model: openai('gpt-4o'),
  tools: { surveyAnalyzeTool },
  prompt: 'Your prompt here...',
});

console.log(result.text);

Signature

(questions: string[], responses: string[]) => Promise<unknown>

Tags

action
analysis
analyze
analyzes
employee
extract
hr
items
official
responses
sentiment
survey
themes
tpmjs

Parameters

Available configuration options

Auto-extracted
responses
Required
Type: string[]

Survey responses from employees

questions
Required
Type: string[]

Survey questions asked

Schema extracted: 2/28/2026, 3:58:37 AM

README

ERROR: No README data found!

Statistics

Downloads/month

19

GitHub Stars

0

Quality Score

76%

Bundle Size

NPM Keywords

tpmjs
hr
survey
analysis
sentiment

Maintainers

thomasdavis(thomasalwyndavis@gmail.com)

Frameworks

vercel-ai
surveyAnalyzeTool | TPMJS | TPMJS