Instructor
Fewer than 5 people recommend it so far, so there's no written verdict. Here is what commenters said.
3recommend
0warn against
Dec 21, 2025first mention
Aug 5, 2026latest mention
Why people recommend it
“an explicit enough_context flag via Instructor + Pydantic”
AI engineer building RAG chatbotson “Ask HN: Who wants to be hired? (August 2026)”
“Maybe similar to Instructor [1] which was a cool tool for json and structured output enforcement”
Show 1 more
“Use one of these structured output libraries:”
Caveats and dissent
No one in these comments warned against it.
Often compared with
Who recommends it in their own words
Threads where it came up
- How to wrangle non-deterministic AI outputs into conventional software? (2025) 2 mentions
- Ask HN: Who wants to be hired? (August 2026) 1 mention
- item 48192383 1 mention
- Labor Market Impacts of AI 1 mention
- Structured outputs create false confidence 1 mention
Data: instructor.json. Quotes are verbatim; the verdict and theme labels are written by a model from these comments, and every clause links to its sources.
All comments 6
“an explicit enough_context flag via Instructor + Pydantic”
“Maybe similar to Instructor [1] which was a cool tool for json and structured output enforcement”
“I used Instructor and Ash framework with Phoenix”
To add to that, llama.cpp supports GBNF grammars, which allows generation of JSON, or even programming languages: https://github.com/ggml-org/llama.cpp/blob/master/grammars/README.md
“Use one of these structured output libraries:”
“I used Python's Instructor[1], a package to force the model output to match the predefined Pydantic model.”