ai-prompt-estimator
Reactive icon

AI Prompt Estimator

Stable version 1.0.1 (Compatible with OutSystems 11)
Uploaded
 on 2 Aug (4 weeks 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

AI Prompt Character and Token Estimator Lite helps OutSystems applications estimate prompt size before sending content to an AI model.

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 lets consuming applications monitor prompt usage and disable AI submission once the configured limit is exceeded.

Token values are estimated at roughly one token per four characters. Actual token usage varies by AI model, tokenizer, language, formatting, source code, and special characters use a provider-specific tokenizer when exact token counts are required.

Release notes (1.0.1)

Few Ux improvements.

License (1.0.1)
Reviews (0)
Team
Other assets in this category