structured-outputs 0.0.3

Typed OpenAI Chat Completions
Documentation
1
2
3
# You're looking for [`tysm`]https://crates.io/crates/tysm

If you want to query OpenAI's Chat Completions API using Structured Outputs (as discussed in [this article](https://chadnauseam.com/coding/ai/openai-structured-outputs-are-really-useful), use my crate [`tysm`](https://crates.io/crates/tysm). It automatically generates a JSON schema for you for your type, and automatically deserializes the output for you.