@tpmjs/tools-hllm
Improve an existing prompt using AI.
Test @tpmjs/tools-hllm (improvePrompt) with AI-powered execution
0/2000 characters
Install this tool and use it with the AI SDK
npm install @tpmjs/tools-hllmpnpm add @tpmjs/tools-hllmyarn add @tpmjs/tools-hllmbun add @tpmjs/tools-hllmdeno add npm:@tpmjs/tools-hllmimport { improvePrompt } from '@tpmjs/tools-hllm';import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { improvePrompt } from '@tpmjs/tools-hllm';
const result = await generateText({
model: openai('gpt-4o'),
tools: { improvePrompt },
prompt: 'Your prompt here...',
});
console.log(result.text);(prompt: string, goal?: string) => Promise<unknown>Available configuration options
promptstringThe prompt to improve.
goalstringWhat improvement to focus on.
Schema extracted: 3/3/2026, 4:21:29 AM
ERROR: No README data found!
Downloads/month
167
GitHub Stars
0
Quality Score