This past Saturday, I held my latest hands on workshop: From Static Files to Smart Agents: Unlocking Document Intelligence at AgentCon Boston. I ended up with around 30 attendees. There was quite a bit of interaction, with some real practical questions being asked about RAG and GenAI applications.
Hand-on-Lab: From Static Files to Smart Agents: Unlocking Document Intelligence
The repository is located at: https://github.com/JasonHaley/agentcon-boston-workshop
What is it?
The end result (which is the “completed” branch of the repo), is a Chainlit application designed to provide four use cases:
- Compare a clause between two contracts and get detail and risk analysis of the clause
- Analyze a clause that is in one contract but not the other
- Compare two complete contracts
- Create a word document that is a rewrite of an uploaded contract taking into account a list of desired terms and a template contract
The code is written in python and uses Semantic Kernel agents to provide the different use case scenarios
There are five labs - though the first is just the setup:
- Lab 0: Gettting Started - this walks through getting the development environment setup and configured
- Lab 1: Processing PDFs to be useful in RAG - the purpose of this lab was to introduce real world things that are not in regular RAG tutorials.
- Lab 2: Create your first agent - this lab walks through creating a plugin, an agent and getting them to work in Chainlit
- Lab 3: Refactor to use multiple agents - this lab creates more agents, then refactors to have a single agent with sub agents.
- Lab 4: Doc Gen with a plugin - this lab is all about document generation using agents and integrating the functionality in the existing Chainlit application.
I still have a know issue with the last lab where it doesn’t always create the complete document without some encouragement telling it to continue a few times until it is done. I plan to focus on this soon and figure out what is going on.
Feedback and Future Workshops
The attendees all had good things to say about the workshop - however a lot of the detailed discussion was about RAG and the different challenges you face creating those apps.
Next I am looking to reshaping this workshop and also possibly create another day long event that is just focusing on agents.
If you are interested please reach out to me on twitter @haleyjason (or email - info@jasonhaley.com) and let me know if you are interested in future workshops on AI applications.
If you have a comment, please message me @haleyjason on twitter/X.