DocsFAQ

FAQ of this RAG app

The FAQ is a collection of useful questions and answers about the project. If you have a question that isn’t answered here, please open a discussion.

What's the artechitecture or workflow of this Graph RAG app?

Graph RAG app architecture

Is this RAG app free?
  • [Free] The code of this RAG app pingcap/autoflow is open source, it’s free to use;
  • [Free] The database of this RAG app is free for 25GiB storage as we use TiDB Cloud Serverless;
  • [Paid] But the token of OpenAI is paid, you should have an account of https://platform.openai.com for an API token.
Which LLMs are supported/tested by this RAG app?

AutoFlow uses LLM to extract knowledge graph from docs and generate responses to user queries, so the LLM is the core of this RAG app, the Smarter LLM, the better the performance. Currently the online demo(https://tidb.ai) is using OpenAI as chat model by default, and the following LLMs are supported/tested by this RAG app:

Can I use a different embedding/reranker API?
Why use TiDB which is a MySQL compatible database to store Knowledge Graph?
  • TiDB is a distributed MySQL SQL database, it’s easy to scale out and has a good performance;
  • TiDB is a multi-model and all-in-one database, it supports MySQL SQL, JSON, Vector, and more, which can replace multiple databases;
  • The performance of TiDB is enough to store and query the Knowledge Graph, as we just search the first-level or second-level neighbors of the node.