Local RAG Explained with Unstructured and LangChain
Andrej Baranovskij
Visit on X@andrejusb6.6K followers
27,533 views
Local RAG Explained with Unstructured and LangChain
Complete video:
Code:
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.
RAG runs locally with ollama
Covered topics:
Agent code and config
File processing with Unstructured
Text processing
Text splitting
Vector store and embeddings
LangChain query
Output validation
Unstructured Pydantic Katana
Comments
Comments from the original post on X (Twitter)
No comments yet
