
Building with LLMs. Prev. Founding Engineer at Develop Health ($7M ARR w/ 5 employees). Creator of magentic
San Francisco, CA
Joined July 2013
- Tweets81
- Following354
- Followers329
- Likes341
Jack Collins retweeted
Ventura (@getventura) deploys AI employees inside the ERPs that distributors and manufacturers already run on, starting with quoting and order processing.
Congrats on the launch, @swekol & @jackmpcollins!
ycombinator.com/launches/Phm…
Jack Collins retweeted
On Sunday I traveled to the middle of the desert to capture this: The ISS against our sun. What I didn't expect: the sun producing a magnificent flare at the same time
A once-in-a-lifetime shot I'm thrilled to share with you. See the uncropped shot or get the print in the reply
Jack Collins retweeted
Replying to @willcb
Theoretical physicists are the intellectual embryonic stem cell, I’ve now seen them become ~everything.
Jack Collins retweeted
🤔 Where are the moats for "GPT wrappers"? After building multiple LLM-based apps used by thousands of users, here's what I've learned about creating defensible Vertical AI solutions... 🧵👇
Jack Collins retweeted
Replying to @jackmpcollins
magnetic is probably one of the best libraries when it comes to the "right" abstractions for LLM development, good job man.
Jack Collins retweeted
This is awesome: more and more people are seeing the power of @pydantic
Logfire and integrating it.
We recently released the logfire-api package to make it easy to integrate logfire into libraries while keeping it optional for end users. @jackmpcollins is now using that in magentic.
github.com/jackmpcollins/mag…
Jack Collins retweeted
Replying to @Shpigford
Hey.
I thought this was fun, so I wrote two solutions for you. These are barebones "back-of-the-napkin" solutions, because I need to get back to work.
1. Simple-as RAG solution with VectorDB + lookup (saw this mentioned in the replies, but no one bothered to provide you with code).
I'm currently getting < $0.008 (i.e. 1/10th your current cost) per categorization for 100% accuracy on your example set.
You need to pay the initial embedding fee (which is a once-off), as well as an additional embedding fee for each query. But it's astronomically cheaper than tokens, so will work out to ~0.000 per query for the embedding.
2. Prompt compression (more experimental, but I didn't see this mentioned in the replies so thought it would be fun to include).
You can usually get a ~20-40% reduction in your token cost without losing much accuracy (if any at all). You can tweak the degree of compression. The more you compress, the less accurate your results will be. I don't have a big enough sample set to tune this for you. But most of your test examples pass with ~30% fewer tokens. Less moving parts, but will require a bit more iteration.
I've provided screenshots of both solutions for you to take a look to judge.
Winner? Simple vector DB search.
If these solutions make you happy, DM me and I'll share the full code with you + hop on a call to help and explain. As for the $500, if I win, please don't pay me, but rather make a pledge to donate to @didier_lopes who is considering fighting in a boxing match to raise funds for charity. I'll match another $500 if this is the case.
Jack Collins retweeted
Big win for Europe 🇪🇺, @imperialcollege beats @Stanford and gets 2nd place on the annual QS ranking. Another big win for technical universities all over Europe.
Europe is coming for you @MIT. Time to start showing what cracked engineers can build here.
Jack Collins retweeted
Replying to @kevinafischer
Recently learned about magentic (h/t @MichaelNStruwig)
github.com/jackmpcollins/mag…
Also, if you're looking to log, debug, evaluate and improve accuracy in a framework agnostic way check out log10! Seemingly we haven't been loud enough on this point 😉
Jack Collins retweeted
[1] We now support function calling with @OpenAI API or other frameworks, like Magentic. Using @prompt with functions arg from Magentic, you can easily create LLM-powered functions with external tools and APIs.
github.com/log10-io/log10
Jack Collins retweeted
One small lesson I learned to find talented people is to execute at the level. Would great engineers want to work in codebases filled with technical debt & poor architectural choices? Likewise, great designers want to work on products that showcase great design.



















