pingcap/autoflow

pingcap/autoflow is a Graph RAG based and conversational knowledge base tool built with TiDB Serverless Vector Storage. Demo: https://tidb.ai

What it solves

AutoFlow 提供了一種使用 Graph RAG(知識圖譜檢索增強生成)來建構知識庫的方式,讓使用者能為其網站或文件建立對話式搜尋體驗。

How it works

它結合多項技術來處理與檢索資訊:

  • Data Collection:使用內建的網站爬蟲從官方文件站點的 sitemap 取得 URL。
  • Storage:使用 TiDB Vector 儲存聊天紀錄、向量、JSON 與分析資料。
  • Orchestration:以 LlamaIndex 作為 RAG 框架,並使用 DSPy 來編程基礎模型。
  • Interface:提供類似 Perplexity 的對話式搜尋頁面,並提供可嵌入的 JavaScript 片段,讓現有網站能加入搜尋小工具。

Who it’s for

開發者與產品負責人,想要在自己的文件上實作 AI 驅動的對話式搜尋或知識庫。

Highlights

  • Graph RAG:利用知識圖譜提升檢索效果。
  • Built-in Crawler:透過 sitemap 輕鬆爬取文件站點。
  • Embeddable Widget:可透過 JavaScript 片段輕鬆整合至網站。
  • Modern Tech Stack:使用 Next.js、Tailwind CSS 與 shadcn/ui 建置。