Hacker GitHub

← All repos

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

Mentions per year 23 mentions · busiest year 2024 (14)
20082026
  1. …combining pydandic with ai retry loops very handy for when models don't have that covered [1] https://github.com/567-labs/instructor
  2. https://github.com/567-labs/instructor/blob/main/instructor/...
    comment by villgax · 2026-05-19 · in Codex-maxxing
  3. 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…
  4. 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
  5. 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…
  6. …) 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
  7. …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 (…
  8. …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 (…
  9. 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.…
  10. …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...
  11. 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
  12. How does Fructose relate or compare to Instructor ( https://github.com/jxnl/instructor )?
  13. …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
  14. …simple and extremely helpful for getting great structured outputs from LLMs with pydantic. 1 https://github.com/jxnl/instructor/tree/main
  15. …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?
  16. …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