Custom @pydantic types for structured generation🎉
Tired of writing regular expressions? Outlines now provides a new experimental feature: custom @pydantic types.
Generate valid phone numbers or zip codes without headaches :)
Let's add more 🚀
🚢 Outlines v0.0.44
Many bug fixes, and two main changes:
1. The possibility to use MLX-based models via `mlx-lm`
2. A simplified interface for OpenAI-compatible models
Need an easy way to run experiments on the cloud with Outlines? We added a cookbook that shows how you can use @modal_labs and Outlines together to do structured generation on a big GPU 🙂
outlines-dev.github.io/outlines/cookb…