instructor-rs
Instructor is a RUst library that makes it a breeze to work with structured outputs from large language models (LLMs). it provides a simple and easy API to help maanage LLM Workflows by abstrating away validation, retries and streamning responses.
Now, let's see Instructor in action with a simple example:
let client = from_openai;
let user = new
println! // John Doe
println! // 30