Skip to content

Using Knowledge Base

LangBot natively supports RAG (Retrieval-Augmented Generation), you can create a knowledge base and bind it to a pipeline, and the pipeline will answer questions based on the content in the knowledge base.

INFO

  • You need to configure the embedding model before creating a knowledge base, please read Configure Models.

Build Knowledge Base

In the knowledge base page, click the Create Knowledge Base button, fill in the knowledge base name, select the configured embedding model, and click the Create button.

create_kb

Use Knowledge Base

Please go to the pipeline configuration, in the "AI" page, select Local Agent as the runner, and select the knowledge base you just created below.

use_kbuse_kb

INFO

Only when the runner is Local Agent, can you use the LangBot native knowledge base, if you want to use the knowledge base with other runners, please refer to the documentation of the corresponding product.

Now you can use the knowledge base to chat in the Chat Debug or the robot bound to the pipeline:

use_kb_in_chat