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. ▲ 1
    Instructor – Structured Outputs for LLMs
    story by softwaredoug · 2025-08-25 · 0 comments
  5. 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
  6. 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…
  7. …) 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
  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. …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 (…
  10. ▲ 1
    Instructor: Structured Outputs for LLMs
    story by alexmolas · 2024-05-30 · 1 comment
  11. 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.…
  12. …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...
  13. ▲ 121
    Show HN: Ellipsis – Automated PR reviews and bug fixes
    story by hunterbrooks · 2024-05-09 · 64 comments
  14. ▲ 3
    Instructor: Structured Outputs for LLMs
    story by ulrischa · 2024-04-24 · 0 comments
  15. 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
  16. How does Fructose relate or compare to Instructor ( https://github.com/jxnl/instructor )?
  17. …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
  18. ▲ 18
    Show HN: Ellipsis – Automatic pull request reviews
    story by hunterbrooks · 2024-02-27 · 11 comments
  19. …simple and extremely helpful for getting great structured outputs from LLMs with pydantic. 1 https://github.com/jxnl/instructor/tree/main
  20. …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?
  21. ▲ 2
    OpenAI Function Calls for Humans
    story by rashadphil · 2023-11-05 · 0 comments
  22. …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
  23. ▲ 2
    OpenAI Function Calls for Humans
    story by behnamoh · 2023-09-25 · 0 comments