Axis Knowledge RAG

•

Enhance knowledge retrieval with a 3-way hybrid RAG system combining axis metadata, vector search, and BM25, specifically designed for Japanese knowledge and local-first operation.

Axis Knowledge RAG is a local-first web application that provides a powerful 3-way hybrid Retrieval Augmented Generation (RAG) system for Markdown knowledge with YAML frontmatter. It allows users to filter knowledge using structured 'axis' metadata (e.g., category, topic), perform semantic searches with vector embeddings, and leverage the BM25 algorithm for keyword matching, all tailored for Japanese language nuances. The tool features Parent Document Retrieval for improved context, conversational RAG with history retention, and in-text citation highlighting for a seamless user experience. Built with a custom implementation in Python (FastAPI) and a Next.js frontend, it avoids heavy frameworks like LangChain/LlamaIndex, ensuring transparency and minimal dependencies, while also functioning as an MCP server for integration with AI clients like Claude Desktop.

Características Principales

010 GitHub stars
02Hybrid search combining structured axis metadata, vector search, and BM25 for precise retrieval.
03Parent Document Retrieval (Small-to-Big) for improved context and answer accuracy.
04Conversational RAG with session ID retention for follow-up questions and automatic query rewriting.
05In-Text Citation Highlighting for easy source traceability within generated answers.
06Optional Time-Weighted Decay based on document 'updated' dates to prioritize newer knowledge.

Casos de Uso

01Automatically converting raw notes, meeting minutes, or plain text into structured, searchable YAML frontmatter Markdown.
02Managing and searching personal or team knowledge bases containing Markdown documents with structured metadata.
03Integrating a local RAG knowledge base with AI assistants (e.g., Claude Desktop) via an MCP server for enhanced question-answering capabilities.