@tpmjs/tools-hllm
Increment the usage count for a prompt.
Test @tpmjs/tools-hllm (incrementPromptUsage) 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 { incrementPromptUsage } from '@tpmjs/tools-hllm';import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { incrementPromptUsage } from '@tpmjs/tools-hllm';
const result = await generateText({
model: openai('gpt-4o'),
tools: { incrementPromptUsage },
prompt: 'Your prompt here...',
});
console.log(result.text);(promptId: string) => Promise<unknown>Available configuration options
promptIdstringThe prompt ID.
Schema extracted: 3/3/2026, 4:21:24 AM
ERROR: No README data found!
Downloads/month
167
GitHub Stars
0
Quality Score