LightningRAG/LightningRAG
LightningRAG is a full-stack Vue + Gin starter with a decoupled frontend and backend, plus built-in, extensible RAG (retrieval-augmented generation): knowledge bases, vector search, and integrations with many LLM and vector-store providers
What it solves
LightningRAG 提供了一個用於構建 RAG (Retrieval-Augmented Generation) 應用的全棧入門框架。它簡化了文件攝入、知識庫管理以及部署可透過 Webhook 集成到第三方通訊平台的 AI 代理的過程。
How it works
該項目使用 Vue.js 前端和 Gin (Go) 後端。它實現了一個完整的 RAG 流水線:文件被解析、分塊並嵌入到可插拔的向量存儲中(例如 pgvector 或 Elasticsearch)。用戶可以接著使用視覺化畫布流程編輯器來定義多步檢索與 LLM 邏輯。這些代理可以透過 Webhook 連接器連接到 Slack、Discord 和 Teams 等外部渠道。
Who it’s for
它是為開發者、設計師和產品經理設計的,他們需要一個現成的框架來構建和部署具有內置用戶管理、權限控制和代理編排功能的生產級 RAG 應用。
Highlights
- Visual Agent Orchestration: 一個基於畫布的流程編輯器,用於創建複雜的分支 AI 自動化。
- Pluggable Architecture: 支持各種 LLM、嵌入模型、重排序器 (rerankers) 和向量存儲。
- Multi-Channel Integration: 內置了包括 Feishu、DingTalk、WeChat、Slack 和 Telegram 在內的平台 Webhook 連接器。
- Full-Stack Starter: 包含管理工具,例如 JWT 身份驗證、基於 Casbin 的角色管理和表單構建器。