In this tutorial, I do a code walkthrough and demonstrate how to implement the RAG pipeline using Unstructured, LangChain, and Pydantic for processing invoice data and extracting structured JSON data.
Sparrow GitHub repo:
https://github.com/katanaml/sparrow
0:00 Intro
0:41 Example
3:04 Agent code and config
5:00 File processing with Unstructured
6:11 Text processing
8:27 Text splitting
8:55 Vector store and embeddings
9:30 LangChain query
9:41 Output validation
10:42 Summary
CONNECT:
Subscribe to this YouTube channel
Twitter: / andrejusb
LinkedIn: / andrej-baranovskij
Medium: / andrejusb
#rage #llm #unstructureddata