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.
-
Click on the
Knowledge Bases
tab; -
Click on the
New Knowledge Base
button to add a new knowledge base;Set up the following fields and click
Create
to create the knowledge base.Field Description Required Updatable Name The name of the knowledge base. Yes Yes Description Describe the knowledge base. No Yes LLM The LLM used during building vector index and knowledge graph index. Yes No Embedding Model the embedding model used by vector index and knowledge graph index. Yes No Indexing Methods Vector index is forced to be enabled. The knowledge graph index is used by GraphRAG. Yes No -
Click the
Data Sources
tab and add a new data source. -
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. -
Go to
Chat Engine
configuration page, select the knowledge base you created and clickSave
to enable it.
Data Source Management
Each Knowledge Base could contain multiple data sources.
You can click the Data Sources tab to view all data sources.
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.
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.