Running llm's through each row of a csv is so powerful! Great for aggregating semantic meaning from arbitrary text!
(also a great way to spend a lot of money if your not careful π
)
@kristoff.sh
kristoff.sh I'm a software engineer in Bozeman, Montana! I'm sinking my teeth into Elixir + genAI and looking for others who are like minded! My other interests include Magic the Gathering, Improvisation, Yoga, the Cosmere, POE, Godot, and Rock Climbing.
Running llm's through each row of a csv is so powerful! Great for aggregating semantic meaning from arbitrary text!
(also a great way to spend a lot of money if your not careful π
)
De-dupping articles when searching articles is super super important, don't want to influence the llm more than intended.
I know why we named ReAct agents (reason/action), but I can't stop thinking how funny it is we clashed names with the most popular web framework π
Love using mermaid sequence diagrams, such a great way to show big brain ideas π§
docs.mermaidchart.com/mermaid-oss/...
The quality on this one is so good! I picked one up myself π
EVO is such a great event! I absolutly love the celebration of fighting games and announcements. Just picked up a copy of SF6 π
You got to check out HTMX. Very simple and sensible functionality that really should be added to the web.
htmx.org
The "Query Object Pattern" also looks look so useful! Defining a "custom view" of analytics is pretty common in enterprise software. I love how these tiny functions could be used to create a user's dream table β¨
I'm not understanding the pattern matching or how this works syntactically π
Another quote - "A repository is not a database. Itβs a protocol between your systemβs logic and its data backend, a protocol that permits decoupling, testing, and iteration."
I've never ran tests or tried switching out backgrounds. I think ecto would be great for this! Sounds like a fun project!
I liked the quote "Each supervision tree is a mini immune system."
It encapsulates how responsible and capable each process is in Elixir. With strong isolation and fault taulerant patterns like GenServer and Supervision trees, you can program a living piece of code.
#ElixirLang #Erlang
I'd love to try this! What are the usage_rules? Is that a function or API parameter? Thanks!
congrats! looks like an amazing opportunity!
Awesome! I was trying to find more info on the creator. Thanks! π
What a great way to spend my morning! I absolutely love the idea and spirit behind this project. It's such a fun application to build an ai agent around.
Good morning #AlchemyConf2025! Elixir in Action is 45% off with code alchemy25. Enjoy the read and see you soon!
www.manning.com/books/elixir...
List of misc blog posts at kristoff.sh, sorted by the date newest to oldest going down.
TIL how to sort dates in elixir. The 'Date' piece is the key to comparing dates.
Enum.sort([~D[2019-12-31], ~D[2020-01-01]], {:desc, Date})
Here's it in action; sorted blogs at kristoff.sh
credit: significa.co/blog/elixir-...
#ElixirLang
Shaping Goblin Fight Club blog on kristoff.sh
line of code reading: File.read!(Path.join(:code.priv_dir(:portfolio), "static/markdown/#{id}"))
I just added blogs to my personal website kristoff.sh
This was tricky because because I'm rendering my markdown using Earmark from a file at runtime, not cached atm. To find this file I had to use this beautiful line of code.
#ElixirLang
If you are excited about what you do, your probably doing the right thing.
Always give yourself the opportunity to take a breath, minute, day, etc. to have those conversations with yourself and those around you.
But also trust your gut.
I'm really happy with the Elixir ecosystem, I can see so much promise from my little perch ποΈ
#ElixirLang
I'm really blown away by elixir's Ecto library. It looks to do so much with amazing examples. I specifically like the detail around tenant isolation, migration + schema cheat sheets, and examples based in postgreSQL π
#ElixirLang
I agree that supervision is key. I'm realizing that generative AI is most useful when parsing semantic text-based data sources. It enables you to create a conversation user interface into a complex system. In some ways it's more approachable, because it can feel like your talking to another person.
Processing data with an llm is like the blobs in a lava lamp. The data is big, then suddenly small, and magically large again.
Llms are great at summarizing lots of text into a statement. That statement can then be used for searching adjacent and relavent documents.
#AI #Claude #LLM
Thanks for the great post! Just curious - what software did you use for this presentation, it looks super clean! Thanks!
Claude dot AI's artifacts are such a great way to iterate, share, and visualize changes over time. I especially love the versioning and how easy updates are performed.
#Claude
Monitoring LLM usage is essential for sustainable AI. Track token counts by model to find efficiencies, spending by use case to validate ROI, request latency for UX impact, and error rates to improve performance.
#LLMOps #AIEngineering
I made an assistant REPL which retains state! This loop updates a simple context object which stores previous assistant and user turns! The program also respects important commands like 'quit' and 'inspect' to exit and look at previous turns.
gist: gist.github.com/Gearhartlove...
#AI #Claude
Id write a utility function to create this if I used single variable tuples a lot. Something like tuple(elements) and tuples(elements)
OK surely I'm not the first one to point out how jank this Python tuple syntax is for creating a tuple with one element. Use case is creating an immutable data structure.
>>> t = 1,
>>> type(t)
<class 'tuple'>
>>> t = (1,)
>>> type(t)
<class 'tuple'>
>>> i = (1)
>>> type(i)
<class 'int'>
#Python