Week of May 6th
Stefan Krawczyk
CEO @ DAGWorks Inc. | Co-creator of Hamilton & Burr | Pipelines & Agents: Data, Data Science, Machine Learning, & LLMs
TL;DR:
Hamilton Release 1.61.0
New IPython Magic
There’s a new IPython Jupyter Magic (see our blog on building one ) — it allows you to incrementally create a module over multiple cells. To see it in action take a look at this notebook . It is very similar to the previous magic in functionality.
%%incr_cell_to_module doc_pipeline -i 1 --display
# module name, identifier to index this cell by, arguments for display
For example the below screenshot shows us adding a few functions to an existing "module" and then seeing the produced graph over all of them. Notice that "raw_document" is in the graph, but it is not defined below, as it is defined in a prior cell.
No more dot files by default
When creating visualizations with Hamilton programmatically it used to create "dot files " as a byproduct. Now with 1.61.0 they are optional:
New Examples
We added two new examples.
Lightning Session on Building a Document Processing Pipeline for RAG Systems
I had a lot of fun talking about and then engaging in questions with the audience hosted by Maven .
You can watch the recording here (it's free, they just want an email for it).
You can also catch my slides here .
You can find the code we went over here .
Burr Release 0.14.1
A small release this past week. We pushed some extra validation when constructing your application:
领英推荐
Burr Agent Design Notes
Otherwise an interesting note from conversations with users -- it seems like the following "multi-modal agent design" is becoming a good way to model more free flowing conversational agents:
For example, if you have some goals to accomplish, you would track these via "state" that is passed between nodes. Then your application at each input cycle from the user, would determine what is the next best action to take, and then call the right "action" to do so.
Implications:
Does this sound interesting to you? If so, reach out to chat, or join Burr's Discord server .
HeavyBit DevGuild: AI Summit II
I helped lead a session on "LLM Application Testing & Evaluation: Process, Tools, SDLC". It was a well attended session.
Key points:
Things that are hard and people are dealing with:
Things to try if you're looking at LLM Evaluations:
US PyCon 2024
Just a reminder we'll be part of Start-Up Row at PyCon next week - we're excited to be in good company with dltHub , Exaloop , Pixee | Your Automated Product Engineer , Martian to name a few.
Please drop by our booth. We'll have stickers and would love to give you a demo.