📱

Get Our Mobile App

Take your business learning on the go!

Download on the App StoreGet it on Google Play

Karpathy's Obsidian "RAG"

Chase AI1:04

Transcription

So, this post by Andre Carpathy talking about how he uses Obsidian to essentially act as a RAG system with his agent coding agents is getting a ton of traction, and that's because normal RAG systems can be kind of difficult to set up.

But with something like Obsidian, we essentially get a 90% solution that is just as good for most people in most use cases if they aren't scaling into millions of documents. Plus, Obsidian is completely free, which is even better.

The real secret to how it works is in the file structure. We have everything inside of the vault. The vault is a folder designated by Obsidian where Obsidian actually goes to work. We then have a raw folder. That's where all of the essentially raw knowledge gets sent. And then we have a series of wiki folders, which is where the large language model comes in, and it takes all that information from the raw folder and turns it into different wikis essentially that you can query, and the large language model can query. And in essence, this is similar to something like a knowledge graph that you see here from Light RAG, just on a simpler scale.

So, I did a full deep dive on my YouTube of how to set this up.