Obsidian vault Q&A with Mini-RAG and llama.cpp
What they built
Mini-RAG lets you open a chat about a note or folder from the right-click menu or command palette, with answers retrieved from your own notes by a local model.
Setup
- Provider: llama.cpp (llama-server) or Ollama
- With llama.cpp: one server for chat, a second with --embeddings for a dedicated embedding model
- Settings: temperature, top-K retrieved chunks (1-10), optional on-disk embedding cache (off by default)
How it works
- llama-server serves one model per process, so the chat model follows the chat server
- Note chunks are embedded and the top-K excerpts go along with each question
- If no embedding model is set, it stuffs as much of the note as fits the context
Do it yourself
- Start a llama.cpp chat server on port 8080
- Start an embedding server on port 8081
- In Mini-RAG options pick llama.cpp, set both URLs and enable the dedicated embedding model
- Right-click a note or folder → open Mini-RAG chat
llama-server -hf bartowski/Qwen2.5-3B-Instruct-GGUF:Q4_K_M -ngl 99 -c 8192 --port 8080
llama-server -hf nomic-ai/nomic-embed-text-v1.5-GGUF:Q8_0 --embeddings --port 8081Source: Obsidian Community · Added 2026-10-18. This write-up summarizes the original source; see it for full details.
Related
Home RAG assistant for embedded-systems docs on Proxmox
Ollama, llama.cpp, Open WebUI, BGE-M3 and SearXNG in a GPU-passthrough VM. Moving from 6 GB to 16 GB of VRAM changed which models could run.
Overnight video-to-RAG pipeline for 2,000+ saved clips
A local Qwen3.6 35B with ffmpeg, scenedetect and Whisper indexes saved TikToks and YouTube videos, so you can later find 'that one plumbing tutorial'.
Offline RAG over 268 Obsidian notes, queryable from a coding agent
nomic-embed-text, ChromaDB and mistral-nemo:12b give cited answers from a vault of internal docs, and an MCP server lets the coding agent search it too.
mdrag: a Rust CLI to chat with an Obsidian vault
A self-contained RAG tool built on SQLite with sqlite-vec and gemma3:1b. It answers 'how did I fix that Git submodule issue?' from your own notes.