Hacker News new | ask | show | jobs
by thesandlord 441 days ago
I've been using using [BAML](https://github.com/boundaryml/baml) to do this, and it works really well. Lets you have multiple different fallback and retry policies, and returns strongly typed outputs from LLMs.