Obsidian - RAG - personal AI bot

Hey everyone,

I’ve been thinking about a personal project that I might build for myself, and I have a feeling that some of you might find it interesting as well. The idea is to create an Obsidian plugin that seamlessly integrates a Retrieval-Augmented Generation (RAG) workflow. Essentially, whenever you update or create notes in Obsidian, the plugin would automatically chunk and embed them into a vector database. Then, by connecting to the OpenAI API (or another LLM provider), you’d be able to ask questions directly inside Obsidian and get responses that are enriched with the context of your own notes. Imagine having your entire knowledge base at your fingertips in a conversational format—no more switching tools, manually copying text, or struggling to recall where you stored that bit of crucial information.

I’m planning to start working on this in 2025, but before diving in, I’d love to hear your thoughts. What features or functionalities would you find most valuable? How would you envision using such a tool in your daily workflow? Are there any pitfalls or potential improvements you can think of right away?

Your input will help shape the early stages of development, so feel free to share any ideas, critiques, or suggestions you might have. Thanks in advance!

2 Likes

There are already several. Check the plugin directory.

I think it’s a very interesting idea. I think it would be very useful if we could include an option where the plugin could even consider a part of a vault as a rag section to respond to analyses about that other section.

Do you have any suggestion about the keywords that can be used for search these plugins?