DocsKnowledge Base

Knowledge Base

Knowledge base is a collection of documents and represents a certain knowledge domain, which can be used by LLM to answer users’ questions.

Configure Knowledge Base

After logging in with an admin account, you can configure the Knowledge Base in the admin panel.

  1. Click on the Knowledge Bases tab;

  2. Click on the New Knowledge Base button to add a new knowledge base;

    Knowledge Base Creation

    Set up the following fields and click Create to create the knowledge base.

    FieldDescriptionRequiredUpdatable
    NameThe name of the knowledge base.YesYes
    DescriptionDescribe the knowledge base.NoYes
    LLMThe LLM used during building vector index and knowledge graph index.YesNo
    Embedding Modelthe embedding model used by vector index and knowledge graph index.YesNo
    Indexing MethodsVector index is forced to be enabled. The knowledge graph index is used by GraphRAG.YesNo
  3. Click the Data Sources tab and add a new data source.

  4. Once the data source added, Autoflow will asynchronously import and index documents from the data source, you can check the progress in the Index Process tab.

  5. Go to Chat Engine configuration page, select the knowledge base you created and click Save to enable it.

    Chat Engine Configuration

Data Source Management

Each Knowledge Base could contain multiple data sources.

You can click the Data Sources tab to view all data sources.

Data Sources Page

Create Data Source

You can click the button on top of data sources list to create new data sources.

Currently, AutoFlow supports three types of data sources:

  • File uploads from local:
    • Markdown (*.md)
    • PDF (*.pdf)
    • Microsoft Word (*.docx)
    • Microsoft PowerPoint (*.pptx)
    • Microsoft Excel (*.xlsx)
    • Text (*.txt) files
  • Website pages by sitemap.xml
  • Certain web pages by URL

Update Data source

You can rename data source by click the Configure button of data source.

Delete Data source

You can delete data source by click the Delete button of data source.

💡

This operation cannot be undone.

Deleting data sources will trigger an asynchronous deletion process for related documents, chunks of vector index and entities and relationships of knowledge graph index.

Documents Management

You can manage documents in the Documents tab.

Documents Page

Delete Documents

Scroll horizontally to the end of the documents table, click the ... button and click the Delete item on the dropdown menu.

💡

This operation cannot be undone.

Deleting documents will trigger an asynchronous deletion process for related chunks of vector index and entities and relationships of knowledge graph index.