dexaai / dexter

LLM tools used in production at Dexa
https://dexter.dexa.ai
MIT License
69 stars 4 forks source link

Support custom context type with generic `Ctx` #34

Closed rileytomasek closed 4 months ago

rileytomasek commented 4 months ago

This allows a Ctx type to be specified when creating a Model instance so that the context values are type safe.

I used any instead of typing the Datastore types because we aren't using them an they will either be deprecated or revamped in a future release.

vercel[bot] commented 4 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
dexter ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 23, 2024 9:29pm