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 构建。