Knowledge source

This section outlines how users can review and manage their file content within the knowledge base. The Knowledge Source feature allows users to edit metadata, view technical details such as chunking strategy and embedding time, and manage document chunks by editing, disabling, or adding new ones. Users can also generate summaries of their files using available models, with options to download or delete the content as needed.

How to review file content?

  1. From the ‘Knowledge’, click on any knowledge base you created.

  1. You will be directed to the ‘Knowledge Source’ tab. There, click on the file name again.

  1. Select the document type.

  1. Here, you can edit the metadata and save your changes. Below, you can view additional details of the data, including technical parameters such as chunking strategy, total number of chunks, average paragraph length, and embedding time.

  1. You can view the total number of paragraphs divided into chunks. To edit a chunk, click on it and then select the pen icon to make changes. You can also add keywords if needed. Once your edits are complete, click the ‘Save’ button to apply them.

  1. To disable a chunk, select the specific chunk and toggle the Active switch to the off position. The chunk will be deactivated immediately.

  1. To add a new chunk, click the ‘+Add Chunk’ button. Enter the content in the provided text box, then click the ‘Save’ button to finalize.

  1. Click on the three dots next to ‘+Add Chunk’ to access three options:

    1. Download File: Click this option to download the file.

    2. Review File: Select this to review the file and examine the chunks created.

    3. Delete File: Choose this option to delete the file. A confirmation pop-up will appear asking if you are sure you want to proceed.

  1. When you create a Knowledge Base with the RAG definition set to Knowledge Graph, ZBrain automatically processes every document, extracts entities and the semantic relationships between them, and saves them as a property graph, a network of nodes (the extracted entities) linked by edges (the relationships between those entities). To explore that graph:

    1. From the ‘Knowledge’, click on any knowledge base you created using the knowledge graph option.

b.You will be directed to the ‘Knowledge Source’ tab. There, click on the file name to view the file content and its associated knowledge graph.

c. Click Knowledge Graph on the left-hand side bar.

The centre panel renders an interactive force-directed graph:

  • Nodes (coloured circles): Individual entities, people, products, APIs, components, dates, etc. You can hover to see the canonical name, type, source sentence and chunk ID.

  • Edges (grey lines): Represent which entities (nodes) are linked.

Last updated