567-labs/instructor
View on GitHub ↗ ★ 14,089 Python
structured outputs for llms
23 mentions on Hacker News by 20 people: 7 stories, 16 comments · first 2023-09-25 · latest 2026-05-19
20082026
-
…combining pydandic with ai retry loops very handy for when models don't have that covered [1] https://github.com/567-labs/instructor
comment by jimmySixDOF · 2026-05-19 · in Show HN: Forge – Guardrails take an 8B model from 53% to 99% on agentic tasks -
https://github.com/567-labs/instructor/blob/main/instructor/...
comment by villgax · 2026-05-19 · in Codex-maxxing -
Use one of these structured output libraries: https://github.com/outlines-dev/outlines https://github.com/jxnl/instructor https://github.com/guardrails-ai/guardrails https://www.askmarvin.ai/docs/text/transformation/ Some of them allow a…
comment by ironbound · 2026-01-16 · in How to wrangle non-deterministic AI outputs into conventional software? (2025) -
How is this different from instructor? github.com/jxnl/instructor namely, why did they take so long for something that just seems like a wrapper around function calling?
comment by tipsytoad · 2024-08-07 · in Structured Outputs in the API -
If you look into the instructor code( https://github.com/jxnl/instructor/blob/06a49e7824729b8df1f7... ). Here is the core code snippet they use: message = dedent( f""" As a genius expert, your task is to understand the content and provide…
comment by resiros · 2024-06-18 · in Every Way to Get Structured Output from LLMs -
…) explaining how their approach works and how it compares to instructor ( https://github.com/jxnl/instructor ). Basically these libraries provide two things: 1. A way to prompt the LLM 2. A way to get a valid JSON For 1. instructor
comment by resiros · 2024-06-18 · in Every Way to Get Structured Output from LLMs -
…Jason Liu created the most popular OSS libraries for structured data called instructor https://github.com/jxnl/instructor , and works with some of the leading companies in the space like Limitless and Raycast (…
comment by hamelsmu · 2024-06-02 · in What we've learned from a year of building with LLMs -
…Jason Liu created the most popular OSS libraries for structured data called instructor https://github.com/jxnl/instructor , and works with some of the leading companies in the space like Limitless and Raycast (…
comment by mloncode · 2024-06-02 · in What we've learned from a year of building with LLMs -
instructor-go is a port of the popular Python package https://github.com/jxnl/instructor . This implementation uses `jsonschema` and Go struct tags to send data and schema information to the model to return the appropriate response schema.…
comment by h0rv · 2024-05-20 · in instructor-go – Structured LLM Outputs in Go -
…Example of issue-to-PR: https://github.com/getzep/zep/issues/316 Example of bug fix on a PR: https://github.com/jxnl/instructor/pull/546#discussion_r1544...
comment by hunterbrooks · 2024-05-09 · in Show HN: Ellipsis – Automated PR reviews and bug fixes -
Ah yes. Have you tried out instructor [0] or Guidance [1]? [0]: https://github.com/jxnl/instructor/ [1]: https://github.com/guidance-ai/guidance/tree/main
comment by Joschkabraun · 2024-04-08 · in Anthropic's Haiku Beats GPT-4 Turbo in Tool Use -
How does Fructose relate or compare to Instructor ( https://github.com/jxnl/instructor )?
comment by hedgehog · 2024-03-06 · in Show HN: Fructose – LLM calls as strongly typed functions -
…super cool! checkout how the Instructor repo uses it to keep various parts of their docs in sync: https://github.com/jxnl/instructor/blob/main/ellipsis.yaml
comment by nbrad · 2024-02-27 · in Show HN: Ellipsis – Automatic pull request reviews -
…simple and extremely helpful for getting great structured outputs from LLMs with pydantic. 1 https://github.com/jxnl/instructor/tree/main
comment by celestialcheese · 2023-12-27 · in Pushing ChatGPT's Structured Data Support to Its Limits -
…fewer tokens than chat or text completions. [1] https://github.com/outlines-dev/outlines [2] https://github.com/jxnl/instructor
comment by gmt2027 · 2023-11-27 · in Ask HN: Cheapest way to run local LLMs? -
…what HN-folks think. Anything to add/improve? Had fun building, extra s/out to Railway, NextJS, and https://github.com/jxnl/instructor Check it out: https://www.unboundedbooks.com/ email: mike@unboundedbooks.com
comment by mholkesvik · 2023-10-05 · in Unbounded Books: Search by ~Vibes