ai-prompt-estimator
Reactive icon

AI Prompt Estimator

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded
 on 31 Jul (9 hours ago)
 by 
0.0
 (0 ratings)
ai-prompt-estimator

AI Prompt Estimator

Details
AI Prompt Character and Token Estimator Lite is a reusable component that displays live character, word, and estimated-token counts for AI prompts. It supports configurable limits, warning thresholds, remaining capacity, progress indicators, multiple display modes, and a reusable estimate-changed event.
Read more

The component provides live character count, word count, approximate token count, remaining token capacity, usage percentage, warning state, and limit-exceeded state. It supports Detailed, Compact, and Inline display modes along with configurable token limits, warning thresholds, whitespace normalization, optional metrics, and a progress bar.

The reusable OnEstimateChanged event allows consuming applications to monitor prompt usage and disable AI submission when the configured limit is exceeded.

Token values are estimated using approximately one token per four characters. Actual token usage varies by AI model, tokenizer, language, formatting, source code, and special characters. A provider-specific tokenizer should be used when exact token counts are required.

Release notes (1.0.0)
License (1.0.0)
Reviews (0)
Team
Other assets in this category