oee-knowledge-base
v1.0.0基于嵌入向量与SQLite的语义知识库,支持文本、URL及文件的导入、搜索与检索。
Installation
Please help me install the skill `oee-knowledge-base` from SkillHub official store.
npx skills add OdinBot33/oee-knowledge-base
🐾 Knowledge Base (RAG) — Your Second Brain
by Odin's Eye Enterprises — Ancient Wisdom. Modern Intelligence.
Save anything, recall it semantically. Personal RAG-powered knowledge base with SQLite + embeddings.
What It Does
- Ingest — Save text, URLs, files, notes into your knowledge base
- Query — Semantic search across everything you've saved
- Retrieve — Get relevant context for any question
Trigger Phrases
- "remember this"
- "save this to the knowledge base"
- "what do I know about"
- "search my notes"
- "KB query"
Usage
# Ingest text
python ingest.py "The key insight from today's meeting was..."
# Ingest from a file
python ingest.py --file notes.md
# Query the knowledge base
python query.py "What did we discuss about pricing?"
# Full KB management
python kb.py stats
python kb.py search "topic"
Files
kb.py— core KB engine (embeddings, storage, retrieval)ingest.py— CLI for adding contentquery.py— CLI for searchingkb.db— SQLite database (auto-created)
Requirements
- Python 3.10+
ANTHROPIC_API_KEYorOPENAI_API_KEYfor embeddings
For Agents
Save context: python ingest.py "TEXT"
Retrieve context: python query.py "QUESTION"