KBase

EricZehuaChang/KBase
★ 0 stars Python AI/LLM Updated 9d ago
私有化交付的 B 端知识库系统(代号 KBase),单租户,Docker Compose 一键部署。 核心卖点: 标准 RAG 能力开箱即用(摄取 → 分块 → 索引 → 检索 → 生成,全链路带引用溯源) 全链路组件可配置:Embedding / 向量库 / LLM / OCR / 分块器 / 增强器均为插槽 原生 Agent 协作:对外可被 Agent 当工具用(MCP Server),对内可用 Agent 编排复杂场景(v2) 首个客户场景(政策 AI 助手)验证三类应用:政策方案生成(v2)、政策定期汇编(v2)、财务报销 Q&A(v1 RAG 直接覆盖)。产品定位为通用知识库系统,不与单一客户场景耦合。
View on GitHub → 🔍 Audit Wallet Slippage →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "kbase": {
      "command": "uvx",
      "args": [
        "kbase"
      ]
    }
  }
}

Or install with pip: pip install kbase

README Excerpt

KBase 是一套私有化交付的 B 端知识库系统:摄取(markitdown 解析)→ 分块(父子分块+结构分块)→ 索引(向量库)→ 检索 → 生成(带引用溯源),全链路插件化(Embedder / VectorStore / LLMProvider / Chunker 均为可替换插槽),支持容器化私有化部署。当前代码为 **M1 / lite 演示形态**:单实例、SQLite + Chroma 嵌入式 + 进程内 bge-m3,用于快速验证 RAG 骨架与演示;生产形态(standard profile)见架构文档。 ```powershell python -m venv .venv .venv\Scripts\python -m pip install -e ".[dev,local-embed]"