Obsidian vault Q&A with Mini-RAG and llama.cpp
- Models & engines
- 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)
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 8081Similar setups
A local second brain for Markdown notes with Ollama, Whisper and SQLite
WeekendAiProjects built a phone-to-computer note capture system that tidies, links, searches and answers questions over a Markdown vault with local Qwen models, and graded every answer by hand.
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.
Replacing Ollama with a llama.cpp router on a shared workstation GPU
A developer moved a busy single-GPU workstation (chat UI, agent, batch study-guide writer, embedders, classifiers) from Ollama to llama.cpp's router mode and measured throughput and embedding parity before switching.