TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Elelem – TypeScript LLMs with tracing, retries, and type safety

3 pointsby jrhizorover 1 year ago
Elelem is a simple, opinionated, JSON-typed, and traced LLM framework in TypeScript.<p>It&#x27;s a proof of concept but has some nice features:<p>1. Caching (with Redis)<p>2. Tracing (with OpenTelemetry)<p>3. Generated examples of JSON output (using FakerJS), which results in more stable output types.<p>4. Type-safe<p>5. Has retry logic baked-in<p>I&#x27;d appreciate any feedback on the interface and would be happy to answer questions for anyone interested in trying it out.<p>Thanks.

1 comment

gsuuonover 1 year ago
I like the integrated telemetry and caching. It looks like the prompt formatter adds text to the system instruction - have you tried using function calling to get json responses? Does the retry mechanism validate against the zod schema?
评论 #37906352 未加载