Hacker GitHub

← All repos

jackmpcollins/magentic

View on GitHub ↗ ★ 2,428 Python

Seamlessly integrate LLMs as Python functions

22 mentions on Hacker News by 2 people: 1 story, 21 comments · first 2023-09-26 · latest 2024-12-13

Mentions per year 22 mentions · busiest year 2024 (15)
20082026
  1. …love some feedback on my library magentic which aims to have the best features of both approaches! https://github.com/jackmpcollins/magentic
  2. If you are using Python, check out the package I've been building, magentic https://github.com/jackmpcollins/magentic It supports structured outputs and streaming, and aims to avoid making unnecessary abstractions (but might require some…
  3. I'm building magentic for use cases like this! https://github.com/jackmpcollins/magentic It's based on pydantic and aims to make writing LLM queries as easy/compact as possible by using type annotations, including for structured outputs…
    comment by jackmpcollins · 2024-12-07 · in DSPy – Programming–not prompting–LMs
  4. …in is cool! I'd be interested to hear what kinds of projects this has enabled you to build. [0] https://github.com/jackmpcollins/magentic
    comment by jackmpcollins · 2024-11-26 · in Promptic – the "requests" of LLM app development
  5. …but leave the abstractions up to the user. I'd be interested to hear your opinion on it vs others. https://github.com/jackmpcollins/magentic
    comment by jackmpcollins · 2024-10-03 · in Agentic patters from scratch using Groq
  6. …without mandating any prompts or particular patterns. Please check it out for the next comparison! https://github.com/jackmpcollins/magentic
  7. …it be swapped in directly to frameworks like langchain and magentic [1] that I am building). [1] https://github.com/jackmpcollins/magentic/issues/207
  8. …vision. Also would be cool for one of us to do a mirascope vs magentic comparison blog post. [0] https://github.com/jackmpcollins/magentic
  9. …scope). [0] https://github.com/stanfordnlp/dspy [1] https://github.com/langchain-ai/langchain [2] https://github.com/jackmpcollins/magentic
  10. …and opentelemetry/tracing. It's hopefully a good compromise between ease-of-use and complexity. https://github.com/jackmpcollins/magentic
    comment by jackmpcollins · 2024-08-09 · in LangChain Is a Black Box
  11. …but the latest magentic release is compatible with it if you'd like to check out the examples here https://github.com/jackmpcollins/magentic/issues/287
    comment by jackmpcollins · 2024-08-09 · in LangChain Is a Black Box
  12. …LLM providers, LLM-assisted retries) while leaving all the prompts up to the package user. [0] https://github.com/jackmpcollins/magentic
  13. I'm building magentic https://github.com/jackmpcollins/magentic which has basically this syntax, though it queries the LLM to generate the answer rather than writing + running code. from magentic import prompt from pydantic import…
    comment by jackmpcollins · 2024-05-09 · in I'm puzzled how anyone trusts ChatGPT for code
  14. …to see what an agent is doing (via OTEL traces). I have more of my thoughts on the github issue: https://github.com/jackmpcollins/magentic/issues/136 [1] https://github.com/jackmpcollins/magentic
  15. See Magentic for something similar: https://github.com/jackmpcollins/magentic
  16. …I've added the ability to add chat messages using a new decorator `@chatprompt` in v0.7.0. See https://github.com/jackmpcollins/magentic/releases/tag/v0.7....
  17. …[1] https://docs.python.org/3/library/typing.html#typing.overloa... [2] https://github.com/jackmpcollins/magentic#type-checking
  18. …the system prompt could also be done in the `@prompt` decorator. I've added a github issue to track https://github.com/jackmpcollins/magentic/issues/31
  19. …Thanks for trying it out. [0] https://docs.pydantic.dev/latest/concepts/fields/#using-anno... [1] https://github.com/jackmpcollins/magentic#configuration
  20. …would save you tokens and time when calling the same prompt-function with the same inputs. --- 1) https://github.com/jackmpcollins/magentic#usage 2) https://github.com/jackmpcollins/magentic#asyncio 3)…
  21. …which I think would be a similar API to what you would end up with without using decorators https://github.com/jackmpcollins/magentic/blob/afdb22513385b...