News for hackers. Stuff that matters.
Re:Show HN: Magentic – Use LLMs as simple Python functions by jstarfish on Tuesday September 26, 2023 @02:02PM (#37663324)
This looks really useful. Langchain is not my idea of a fun time.

Love the examples too. Low-effort humor is the best:

> create_superhero("Garden Man")

> # Superhero(name='Garden Man', age=30, power='Control over plants', enemies=['Pollution Man', 'Concrete Woman'])

Re:Show HN: Magentic – Use LLMs as simple Python functions by cosmonoot on Tuesday September 26, 2023 @02:39PM (#37663882)
Would check out https://www.askmarvin.ai/ if you're into this.

I haven't downloaded 1.5 yet, but they released this last week: https://www.askmarvin.ai/prompting/prompt_function/

Re:Show HN: Magentic – Use LLMs as simple Python functions by brandall10 on Tuesday September 26, 2023 @05:01PM (#37665761)
FWIW, at my last company we had a section in the developer guide encouraging using humor in tests - not only did it make them more fun to write, but it engaged the readership better.
Re:Show HN: Magentic – Use LLMs as simple Python functions by phatskat on Wednesday September 27, 2023 @04:45PM (#37681063)
I’ve been integrating humor into our unit tests for a bit now and have gotten feedback from a few engineers who really seem to appreciate it.