Show HN: Time-aware utilities for LLM prompts (TypeScript)
1 yaoke259 0 9/16/2025, 1:12:23 PM time-ai.blueprintlab.io ↗
TL;DR: A lightweight TS library to parse natural-language dates and inject temporal context into LLM prompts. It turns vague phrases like "tomorrow" into precise, timezone-aware dates to reduce ambiguity in agents, schedulers, and chatbots.
Why you might care: - Fewer ambiguous instructions ("next Tuesday" -> 2025-09-23) - Works across timezones/locales - Choose formatting strategy: preserve, normalize, or hybrid
Quick example:
``` enhancePrompt("Schedule a demo next Tuesday and remind me tomorrow") → "Schedule a demo next Tuesday (2025-09-23) and remind me tomorrow (2025-09-16)" ```
Links: - Project: https://time-ai.blueprintlab.io - GitHub: https://github.com/BlueprintLabIO/time-ai - NPM: https://www.npmjs.com/package/@blueprintlabio/time-ai
Would love feedback on real-world prompts, tricky date phrases, and missing patterns.
No comments yet