Obsidian-Copilot: An Assistant for Writing & Reflecting
Eugene Yan 3 years ago
A developer built Obsidian-Copilot, a plugin that uses retrieval-augmented generation to help draft writing and reflect on journal entries by retrieving relevant notes and feeding them to language models. The system combines BM25 classical search with semantic search using the e5-small-v2 embedding model (ranked 7th on the Massive Text Embedding Benchmark) and chunks documents by top-level bullets rather than fixed token lengths. The tool enables users to generate drafts from section headers and weekly reflections from daily journal entries by integrating retrieval services with OpenSearch and FastAPI into Obsidian via a TypeScript plugin.