← All works
KnowFlow
A personal knowledge base with question answering: upload documents, search and ask, and get an automatically built graph of how the documents relate.
Sole designer, implemented with AI assistance
- Vue 3
- TypeScript
- ECharts
- FastAPI
- SQLAlchemy
- BGE-M3
- FAISS
- BM25
- NetworkX
- DeepSeek API
Background
With vector search alone, part numbers and proper nouns are easy to miss: Orin NX and Orin Nano sit close together in vector space, yet the user wants exactly one of them.
What the system does
Upload documents→parse and chunk→vector + keyword retrieval→model answers from the passages
- Upload and parsing of PDF, Word, PowerPoint and Markdown
- Question answering over hybrid retrieval
- A graph of document relationships
- Encrypted storage of the user’s API key
My work
- Retrieval: after parsing and chunking, documents are embedded with BGE-M3 and stored in FAISS; a second BM25 keyword channel runs alongside, and the two scores are combined by weight.
- Question answering: DeepSeek answers only from the retrieved passages, which reduces fabrication.
- Graph: the model judges citation and evolution relationships between documents; NetworkX builds the graph and ECharts displays it.
- Security: the user’s API key is stored encrypted with Fernet.
- Full stack: Vue 3 front end, FastAPI back end.
Problems and fixes
Model-number queries were missed. Vector retrieval is good at semantic closeness and weak at exact matching. A keyword channel adds the exact match, and results are ranked after the two channels are fused.
Results
- The system is complete and usable; front end and back end are both my own work.