RAG Knowledge Base Builder
Paste the following prompt into your AI chat to install this skill:
Follow https://skillhub.cn/install/skillhub.md to install @user_69009747/rag-knowledge-base-builder.
About this skill
Problems It Addresses
Direct LLM answers can produce hallucinations, rely on outdated information, and miss private enterprise documents. For internal policies, contract review, customer-support FAQs, product manuals, and equipment operations, teams need answers grounded in trusted documents.
How It Works
The skill provides an engineering path from environment setup to the question-answering chain:
- Core components: use
Milvusfor vector storage,Ollamafor local model serving, andMinIOfor document object storage. - Document parsing: supports
PDF,Word,Excel,Markdown,TXT, and image OCR, with notes on tables, multi-sheet workbooks, encoding, and heading hierarchy. - Chunking: choose
chunk_sizeandchunk_overlapby scenario; policy documents favor smaller chunks, technical docs use standard chunks, and FAQs are split by question-answer pairs. - Retrieval and generation: recommends
BM25 + vector search + Rerankfor better handling of proper nouns, abbreviations, and precision-critical answers;GraphRAGcan be added for complex entity relationships. - Permissions and operations: includes
Milvus Partition Keyguidance and notes on indexing, model downloads, and production deployment.
Boundaries And Notes
Small knowledge bases usually only need hybrid retrieval; GraphRAG is more useful for large, complex knowledge systems. Scanned documents depend on OCR, first runs may need model downloads, indexing grows with document volume, and production use should consider clustering and GPU inference cost.
Use Cases
- Build an internal policy QA base from PDF and Word docs with section-level chunking and retrieval.
- Ingest product manuals, FAQs, and Excel files to create a support or onboarding QA knowledge base.
- Review contracts and product docs using BM25, vector search, and rerank for proper nouns and abbreviations.
- Add GraphRAG to a 500+ page knowledge base for entity relationship queries and multi-hop reasoning.
Best For
- Backend engineers building enterprise document QA systems with Milvus, Ollama, MinIO, and retrieval pipelines.
- Knowledge-base product managers turning contracts, policies, and manuals into searchable QA with chunking and access control.
- Product or operations owners maintaining support and training docs who need PDF, Excel, Word parsing, OCR, and table handling.
- Applied ML engineers designing enterprise RAG solutions and comparing vector, BM25, rerank, and GraphRAG boundaries.
Related Skills
A free matrix publishing assistant for Skill developers, guiding distribution to Tencent SkillHub, XiaLiao, XiaYou SkillHub, GitHub, and ClawHub with create, update, and delete safeguards.
A guide for writing Seedance 2.0 video prompts, covering @ references, camera moves, time segments, audio direction, and common pitfalls.
Collects daily conversations, task logs, and errors, then runs a nine-module review to surface blind spots, generate actions, and update memory.
Local long-term memory for AI agents that appends key facts and daily logs, supports cross-session context and search recall, and auto-archives old diaries to gzip files.