# Knowledge Base

## 1.Knowledge Management

1. Each bot comes with a exclusive knowledge base by default and can also be linked to multiple public knowledge bases from the workspace.
2. The configuration logic for knowledge within dedicated and public knowledge bases is completely identical.

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2F8m6A5sw8TYbvr7ZiWRtm%2Fimage.png?alt=media&#x26;token=23f49272-3902-4187-963f-97bb6db6ab88" alt=""><figcaption></figcaption></figure>

### 1.1 Knowledge List

Supports importing three types of knowledge: Files, Q\&A, and Text blocks. On the knowledge list page, you can view detailed information related to the knowledge, including: segment \*character count, file size, updated by \* time, status, audit status, and actions. The bottom-right corner allows for page navigation and setting the display number of knowledge items per page."

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FE8POCGQZCOTclhYkgYCb%2Fimage.png?alt=media&#x26;token=d0af3d56-1c07-4e47-9928-defb91a34024" alt=""><figcaption></figcaption></figure>

By adding new documents, hierarchical categorization can be achieved, enabling structured management of knowledge content.

* Add Category: Enter category name, description (up to 150 words), and reference questions (up to 1000 entries, supporting batch import). A maximum of 10 levels of categorization is supported.
* Reference Questions: Trigger reference questions for this node (can only be added after enabling the Tree Retrieval function in the knowledge base settings), used for precise retrieval when using Tree Retrieval.

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FqoKyhVyYZY5FCavw5Cch%2Fimage.png?alt=media&#x26;token=835fbcdd-03bd-4cb7-9324-3768a7465565" alt=""><figcaption></figcaption></figure>

Click the clock icon next to the “knowledge list” to view the operation history and perform a restore operation.

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FPlFwGLwpuOmY9C5wHJL9%2Fimage.png?alt=media&#x26;token=4981c3c9-e2a5-4c66-85ec-0c6ca842de1b" alt=""><figcaption></figcaption></figure>

#### 1.1.1 File

The File includes three types: files, compressed packages, and webpage. You can choose the corresponding import mode based on the existing knowledge.

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FaQgNJQwgzbhpFl6DmFnN%2Fimage.png?alt=media&#x26;token=b4487e33-95d4-4f5f-94c5-bf85177201c0" alt=""><figcaption></figcaption></figure>

1. Files support uploading and importing PDF, DOC, DOCX, TXT, HTML, PPT, PPTX, MD, XLS, XLSX, CSV, PNG, JPEG, and JPG formats. A maximum of 100 files can be imported, and the size of a single file must not exceed 20MB. If manual segmentation is required, you can download the template in advance (manual segmentation only supports .TXT format). After upload and parsing, the document, spreadsheet, and image will be previewed in segments before the final import."

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2F7KPbnhcdgY4rQT4qJAkw%2Fimage.png?alt=media&#x26;token=d4f16ef1-a67d-4a34-8285-e65016fd28bf" alt=""><figcaption></figcaption></figure>

* Document Type Segmentation Preview

  * Smart Segmentation: Uses an algorithm to automatically detect and parse webpage content, achieving the optimal segmentation effect. The segment length can be specified, with the recommended length being 300-600 characters. The default length is 300 characters.
  * Fixed-length Segmentation: After uploading the file, it will be segmented based on the default length of 500 characters.
  * Manual Segmentation: Before uploading the file, manual delimiters “-%@#&\*\&#@%-” can be added for segmentation. This option only supports .TXT format files, and a template can be downloaded.

  <figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2Fm2YpN6AYu955pjyH4hTM%2Fimage.png?alt=media&#x26;token=471be15e-c37c-4633-bfac-10bcd307ddf2" alt=""><figcaption></figcaption></figure>
* Table Type Segmentation Preview

  * Smart Table Content Segmentation: Intelligently segments based on table content, suitable for non-standardized tables. Only supports .xlsx and .xls formats. The default segment length is 5000 characters.
  * Segment by Row: Segments each row into a separate knowledge block using the "header + content" format.

  <figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FzfuB8VzlPPXczlRyHDvf%2Fimage.png?alt=media&#x26;token=d07fcfad-d53d-45a8-80e9-b47df7c70ab6" alt=""><figcaption></figcaption></figure>
* Image Type Segmentation Preview

  * Image OCR Recognition: OCR (Optical Character Recognition) technology is used to recognize the text information in images, assisting with image Retrieval.

  <figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FdqtPNOdIMKmkPdeNkh10%2Fimage.png?alt=media&#x26;token=6d46830e-c5b3-4fe0-944e-deff2df2db97" alt=""><figcaption></figcaption></figure>

2. Compressed packages can be extracted and uploaded online, but only one zip file is supported for upload, with a size limit of 1GB. The size of a single file cannot exceed 20MB, and files larger than this cannot be uploaded after extraction. The total folder hierarchy should not exceed 10 levels, and nested compression is not supported. The supported file formats within the compressed package are consistent with those of the file type.

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2F7JRkjbuQ3ol5Z1xtke1s%2Fimage.png?alt=media&#x26;token=e881bf75-0f2a-4fcd-908a-8ab9a794f44f" alt=""><figcaption></figcaption></figure>

Select and segement the files based on their types within the compressed package before importing

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2Fpu938pOySjN9HgLaGIjq%2Fimage.png?alt=media&#x26;token=31d2947a-23ea-4141-a269-1ed4f86063a9" alt=""><figcaption></figcaption></figure>

3. Webpages support URLs starting with http or https, and can be imported via two methods: individual URLs or sitemap URLs. By entering a page address, the system can automatically crawl and extract the text content for import. Enabling the "deep parsing" option allows the system to parse subpages and retrieve their content as well.

* Individual URLs: You can add up to 10 website addresses at a time, separated by line breaks. Enabling the deep parsing option allows the system to parse subpages and retrieve their content.
* Sitemap URLs: Allows retrieval of content from up to the first 20 pages listed in the website's sitemap.

👲🏼e.g: Below are the upload and segmentation preview interfaces when deep parsing is disabled.

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FpMOHucN5UGvCkCYoB9M0%2Fimage.png?alt=media&#x26;token=ef5353c6-3979-46b3-aeed-4ff986e710e6" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FAVBFed2RdXKPyYcumI9v%2Fimage.png?alt=media&#x26;token=53e1d599-4195-47dd-b3a1-e87c3d3ea001" alt=""><figcaption></figcaption></figure>

👨🏼Upload and Preview Interfaces (Deep Parsing Enabled)

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2Fx7sR6iZ1nl9nGYMg2iOT%2Fimage.png?alt=media&#x26;token=4274e7e5-63c6-4cdb-9c27-adcbd7b7d7a0" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FPm4Bv1eRSz0Q6tqalUiO%2Fimage.png?alt=media&#x26;token=6d5ac5dd-a5c7-4f25-83ae-7a8438dc27e8" alt=""><figcaption></figcaption></figure>

#### 1.1.2 Q\&A

Supports three modes for importing question-answer (Q\&A) pairs: Batch import , manual entry, and generate from file. In the Q\&A gneration confirmation panel, users can choose to select, unselect, or delete generated Q\&A pairs. For individual Q\&A items that have already been published, the following operations are supported: edit, delete, move category, associate with files, and export.

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FsY6AzdGZOJGPrv3wTTIw%2Fimage.png?alt=media&#x26;token=5d12e6b7-4438-4763-90df-f930be197f51" alt=""><figcaption></figcaption></figure>

1. Batch import

Batch import supports files in CSV, XLS, and XLSX formats, with up to 3,000 Q\&A pairs allowed per file. The header row must include two columns: "question" and "answer".

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FxRvIGLT9dXNGPsT0VbG2%2Fimage.png?alt=media&#x26;token=3c3217e6-5bb1-4f67-9bf7-f0113a1c5277" alt=""><figcaption></figcaption></figure>

By using batch import, you can see multiple questions imported in one batch.

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2Ff2pyRyud9P4lmk6tI6t5%2Fimage.png?alt=media&#x26;token=a5b02b7e-1d26-404a-b7c5-574867ddbd98" alt=""><figcaption></figcaption></figure>

2. Manual Entry

Manual import requires manually entering both the question and the answer, with the option to add image and file attachments as supplementary answers

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FxHnYe2wDYPvBonOfiHBX%2Fimage.png?alt=media&#x26;token=b171b88d-b28a-45ac-bd60-853ca7dc1c51" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FU02XiCBUmuUGrueW0yAx%2Fimage.png?alt=media&#x26;token=eaddcce1-0fa7-4871-b6c7-c5e23cb949a4" alt=""><figcaption></figcaption></figure>

* Image Attachments: If the knowledge content is highlighted and referenced during a Q\&A interaction, the image(s) will be displayed to the user after the response is generated. A maximum of 9 images can be uploaded, each no larger than 20MB. Supported formats include JPEG, PNG, JPG, and GIF.
* File Attachments: If the knowledge content is highlighted and referenced during a Q\&A interaction, the system will generate a response and also send the attached file(s) to the user. You can upload up to 9 files or images, with each file/image no larger than 20MB. Supported formats include: PDF, DOC, DOCX, TXT, HTML, PPT, PPTX, MD, XLS, XLSX, CSV, PNG, JPEG, JPG, GIF, and MP3.

{% hint style="info" %}
**Example:**

* **Imported Question:** What’s your favorite animal?
* **Answer:** Rabbit
* **mported Files:** An image of a rabbit and a document containing rabbit-related knowledge

**Conversation:**

**User:** What’s your favorite animal?

**Response:** I like rabbits. Rabbits are very cute animals with soft fur, long ears, and red eyes. Just like the one in the picture—doesn’t it look gentle and adorable? One of the reasons rabbits are so lovable is their calm nature. The way they nibble on carrots is especially amusing. Don’t you think rabbits are cute too?

&#x20;**\[Rabbit Image]**

&#x20;**\[rabbit\_knowledge.doc]**
{% endhint %}

3. Generate from File: Uses a large language model to automatically parse the imported file and generate relevant questions and answers based on its content. Generated Q\&A pairs can be reviewed in the Q\&A confirmation panel.

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FQfNN7ho2ot0UMgPZkZ8p%2Fimage.png?alt=media&#x26;token=9da28c3a-abaa-412d-a3e8-da55f986d2f4" alt=""><figcaption></figcaption></figure>

You can perform batch operations on the generated Q\&A pairs, including select, unselect, and delete. The associated file indicates the source file from which the Q\&A was generated.

#### 1.1.3 Text Blocks

Text blocks supports two import methods: batch import and manual import. A template can be downloaded, and the header field is required to be "content"

1. Batch Import: Supports CSV, XLS, and XLSX file formats, with up to 3,000 text blocks per file. The header must contain only one column.

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FpmjQGUFtxn0xQrZNrvJH%2Fimage.png?alt=media&#x26;token=ef0c01cf-ac7d-490a-b09e-28c7662fc4cf" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FtxnsDGvp4LqaC68nTIte%2Fimage.png?alt=media&#x26;token=4a8b32b8-cdbd-4c9c-ba52-4d2fade89da2" alt=""><figcaption></figcaption></figure>

2. Manual Import: Allows input of up to 50,000 characters of text. Image and file attachments can be optionally added as incremental answer, following the same rules as manual import in the Q\&A module.

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FdOd3qQmg9WxKevtd5DHP%2Fimage.png?alt=media&#x26;token=78ce41d7-e61e-414c-bea0-27e25f796b37" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2F0eNeyK6ftTc5l81jJNln%2Fimage.png?alt=media&#x26;token=a06ef435-f0d4-471e-9dbe-81e34e3f23c8" alt=""><figcaption></figcaption></figure>

### 1.2 Retrieval Testing

Enter a Retrieval Term(up to 500 characters). Based on the given test parameters, the system will display the top 7 Q\&A pairs ranked by relevance. The blue-highlighted number in the search results represents the relevance score between the answer and the retrieval term. Q\&A pairs with scores below the relevance threshold will be excluded. When the threshold is met, the system will reference the maximum number of relevant knowledge entries to generate a response using the LLM.

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2Fiovm9xlSyw7GnEQslTTD%2Fimage.png?alt=media&#x26;token=e1f03bbe-eef8-4fad-a1b3-64eb3a5ab696" alt=""><figcaption></figcaption></figure>

### 1.3 Knowledge settings

Knowledge base settings include three categories: Retrieval settings, Knowledge Comparison Settings, and Audit settings. These settings offer flexible and diverse configurations to help you accurately access the knowledge you need.

#### 1.3.1 Retrieval settings

**1.3.1.1 Regular retrieval**

In the regular retrieval mode, we first ensure that the recalled knowledge meets the relevance threshold. Then, it performs an inverted ranking of the recalled items and selects the Top N most relevant knowledge items based on the maximum number of references allowed. This approach ensures that the content you receive is not only highly relevant to your query but also of high reference value, helping you quickly access authoritative and practical knowledge.

Retrieval Ratio: Allows adjustment of the balance between semantic retrieval and keyword retrieval via a slider. The default setting is 50% for each.

Relevance Threshold: Sets the minimum relevance score (ranging from 0 to 1) required for knowledge to be considered in retrieval. The default value is 0.65.

Maximum Number of Referenced Knowledge: Defines the maximum number of knowledge entries that can be referenced in a response (0–10). The default is 3.

Re-ranking Model Selection: Offers two models — BAAI/bge-rerank-large and bairong-inc/bge-rerank-large-hsbc. The latter is better suited for financial domain applications.

Recall Knowledge Block Filtering: When enabled, irrelevant or less relevant knowledge blocks are filtered out based on a predefined strategy. It applies absolute and relative comparisons to exclude knowledge that, while above the relevance threshold, differs significantly from the most relevant entries.

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2Fa6mU3fXhwnyvb7c2jGgq%2Fimage.png?alt=media&#x26;token=6155b62c-c134-46e1-8f94-0b1343bb32de" alt=""><figcaption></figcaption></figure>

**1.3.1.2 Structured Retrieval**

In structured retrieval mode, the system recalls only structured knowledge within specified folders, while still ensuring the relevance threshold is met. This approach allows for more precise filtering of relevant content, reduces information overload, and improves retrieval efficiency. When generating retrieval results, the system takes into account both the 'Maximum Reference Folder Count' and the Maximum Number of Referenced Knowledge per folder. This ensures that the results are not only accurate but also highly targeted, helping you quickly locate relevant structured knowledge and improve work efficiency.

* Maximum Reference Folder Count: From all the recalled folders, take the Top N folders with the highest knowledge count and relevance
* Maximum Reference Count per Folder: Take the Top N knowledge from the recalled folders

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FwzDIhl3dj7JCxdIosq7A%2Fimage.png?alt=media&#x26;token=166f79a6-bd01-4455-9984-6ccf0de2ee2a" alt=""><figcaption></figcaption></figure>

**1.3.1.3 Tree Retrieval**

Tree-structured retrieval mode ensures that you can quickly and accurately find the information you need. The system organizes knowledge into multiple hierarchical levels, presented in the form of folders—each level representing a specific knowledge domain, with the final answers or content stored in the leaf nodes. This structure allows you to navigate layer by layer, much like browsing through folders, to locate your topic of interest. When you submit a query, the system will guide you step by step through the relevant levels based on your question to ensure accurate intent recognition. If your question is not specific enough, the system will automatically perform intent clarification, asking follow-up questions until it can determine the final answer.

* Reference Question Match Threshold:The minimum threshold for reference questions to be considered a match. Reference questions below this threshold will not be matched, similar to intent matching — it defines the similarity threshold between the user’s question and the corresponding knowledge block.
* Leaf Node Relevance Threshold: For terminal leaf nodes, you can configure the relevance threshold for retrieval.
* Maximum Knowledge References for Leaf Nodes: For terminal leaf nodes, you can configure the number of items to retrieve.

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FvCwemclwJlCHE3HXQl0z%2Fimage.png?alt=media&#x26;token=2770d607-9e46-44b2-aba2-a8e10b866053" alt=""><figcaption></figcaption></figure>

1.3.2 Knowledge Comparison Settings

The Knowledge comparison feature has a configurable prerequisite: you can choose to enable or disable automatic comparison. When enabled, files, Q\&A pairs, and text blocks will be automatically compared upon upload. You can also initiate manual comparison tasks if needed. Knowledge comparison applies only to items of the same type (e.g., file-to-file, Q\&A-to-Q\&A). The knowledge comparison relevance is controlled by setting relevance thresholds separately for files, Q\&A pairs, and text blocks.

* File Relevance Threshold: Set the relevance threshold for files when comparing knowledge. Range: 0–1.
* Q\&A Relevance Threshold: Set the relevance threshold for Q\&A when comparing knowledge. Range: 0–1.
* Text Block Relevance Threshold: Set the relevance threshold for text blocks when comparing knowledge Range: 0–1.

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FbN5GAEKuw6FAjmKkaGkG%2Fimage.png?alt=media&#x26;token=557ade6b-1c00-4ead-9f23-81c741a0789e" alt=""><figcaption></figcaption></figure>

👩🏼Example: Setting a lower relevance threshold for files, Q\&A, or text blocks makes it easier to trigger automatic comparison; increasing the threshold makes automatic comparison less likely to occur.

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FQZcbSVz2d9JKlOspWYvN%2Fimage.png?alt=media&#x26;token=739dde57-d0d5-4894-bd0e-4c3d7cc8518d" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FrpD3aIPW0rbTwuJXCxXV%2Fimage.png?alt=media&#x26;token=dfc14edf-5c03-4ab3-a270-3ebcc57f1d11" alt=""><figcaption></figcaption></figure>

#### 1.3.3 Audit Settings

You can choose to enable or disable knowledge audit. When enabled, files, Q\&A, and text blocks must pass audit before being imported as knowledge. Audit operations can be performed in the Audit Center. Only space owners and space administrators have permission to configure this setting.

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2F7csML3Fc8bYIW389uwyF%2Fimage.png?alt=media&#x26;token=65884da6-e3a8-45a7-8f49-7a65f758fe2a" alt=""><figcaption></figcaption></figure>

### 1.4 Knowledge Comparison

This feature can only be used after enabling automatic comparison in Knowledge Base Settings – Knowledge Comparison Settings.

1. File Comparison

After enabling the automatic comparison settings, the system will automatically compare files with duplicate names that meet the threshold. You can also manually create a comparison task by clicking the orange-highlighted button in the upper right corner. This allows you to upload two files of the same type for comparison. Only files in the "Pending" or "Active" status are supported. In the "View Comparison" column, you can view the comparison results. After analyzing the results, you can perform operations on the corresponding files, including: No Processing, Delete Old File, Delete New File, Old File Renamed, or New File Renamed. Click the "Start Processing" button to execute the selected operation.

* Automatic Compariso&#x6E;**:** After enabling the automatic comparison settings, comparison will be automatically performed on parsed files.
* Manual Comparison Creatio&#x6E;**:** After enabling the automatic comparison settings, you can select two files from categorized folders to perform a specific comparison task.

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FamrwHwpVsNITy6kSGC5x%2Fimage.png?alt=media&#x26;token=1e0a7829-3c1b-4f08-ad9e-2d45f273d0b3" alt=""><figcaption></figcaption></figure>

After comparison, you can click the "View" button under the View Comparison column to read the detailed comparison results. Differences between the two files are highlighted in different colors for easy identification.

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FNxpk5KhWLQ4lNpQZysWD%2Fimage.png?alt=media&#x26;token=0ab8956b-2f3a-45ad-8909-1bb50f6669e0" alt=""><figcaption></figcaption></figure>

You can click the "View Results" button under the Operations column to see the corresponding feedback after performing operations on files and Q\&A items.

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FQwXggvCWxhJSs8B9ERqx%2Fimage.png?alt=media&#x26;token=00c187db-a215-4a71-8e0c-35199959d364" alt=""><figcaption></figcaption></figure>

2. Q\&A comparison

After enabling automatic comparison, text that exceed the similarity threshold will be automatically compared. Highlighted areas indicate differences. Gray blocks with no content represent missing parts in the comparison. You can select one version as the correct answer to be entered into the knowledge base.

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FyDHat8yr2ZtEzgrU87yh%2Fimage.png?alt=media&#x26;token=e2217fd4-db12-4ebe-ad5d-5ea1f8572ce1" alt=""><figcaption></figcaption></figure>

3. Text Blocks comparison

After enabling automatic comparison, texts that exceed the text block similarity threshold will be compared. You can select a text to submit as the final answer.

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FEokwpjzEWIQRHf2lN4ar%2Fimage.png?alt=media&#x26;token=b2cdfc17-c73a-46c2-90d4-6515cbadb567" alt=""><figcaption></figcaption></figure>

### 1.5 Audit Center

The Audit Center is a functional module designed to centrally manage various content audit tasks, helping space owners and administrators efficiently handle the audit process for files, Q\&A items, and text blocks. Users without audit permissions cannot access the Audit Center or the “Audit Settings” section in Knowledge Base Settings.The “Category” column supports search and filtering based on users’ personalized category structures, helping to identify the ownership of content pending review. You can also switch between “File Audit,” “Q\&A Audit,” and “Text Block Audit” tabs to view specific types of content. The list view displays detailed information and allows filtering by status such as “All” or “Pending Audit.” “Batch Operation” improve efficiency, and combined with the pagination feature, they allow easy tracking of audit progress and results.

1. File Audit

After enabling Audit in the Knowledge Base Settings, any addition or removal of files will require auditing. There are two options: Approve or Reject. Rejected files will not be imported into or removed from the knowledge base, and will be marked with a "Rejected" status. Files that have not yet been audit will display a "Pending" status.

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FcrXPuXACU7RdbzVpZVxS%2Fimage.png?alt=media&#x26;token=05410c5b-2713-4b66-93ba-d553689547eb" alt=""><figcaption></figcaption></figure>

Click the ✔ on the right to approve the change after a second confirmation. Click ✖ to reject the operation. A reason must be provided for rejection, with a maximum of 500 characters

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FEyqZ2BKeeQ1ZLw5SLzqC%2Fimage.png?alt=media&#x26;token=21f03998-9f6e-483c-ba5c-1811cae479f6" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2F2yjc05HLM1hclmpP0CLk%2Fimage.png?alt=media&#x26;token=a1d458f0-47a9-4345-a35a-0c4bfa5aa091" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FWLsXqKgM2ZrlrPTMqe6j%2Fimage.png?alt=media&#x26;token=1220aee7-57a2-4f29-8226-57790d50b3f5" alt=""><figcaption></figcaption></figure>

Click on a specific file item to view detailed audit information. You can scroll up and down to see the audit details for multiple sections within the file.

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FEXXIhr3v6qZfMek2XcTv%2Fimage.png?alt=media&#x26;token=7b8e97a3-c138-4dc9-9021-bbad0e7e1b46" alt=""><figcaption></figcaption></figure>

2. Q\&A Audit

After enabling Audit in the Knowledge Base Settings, any addition or removal of Q\&A will require auditing. There are two options: Approve or Reject. Rejected Q\&A will not be imported into or removed from the knowledge base and will be marked with a "Rejected" status. Q\&A that have not yet been audited will display a "Pending" status.

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FSQhK6z34us7K8EILFdbe%2Fimage.png?alt=media&#x26;token=c813e7a8-ce67-4e3c-a7bd-1a743d3122e1" alt=""><figcaption></figcaption></figure>

Similar to file audits, click the ✔ on the right to approve the audit after a second confirmation. Click ✖ to reject the operation. A reason must be provided for rejection, with a maximum of 500 characters.Click on a specific Q\&A item to view detailed audit information.

3. Text blocks audit

After enabling audit in the Knowledge Base Settings, any addition or removal of text blocks will require auditing. There are two options: Approve or Reject. Rejected text blocks will not be imported into or removed from the knowledge base and will be marked with a "Rejected" status. Items that have not yet been audited will display a "Pending Audit" status.

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2F32XdKGU2LHbvXzTUsPGP%2Fimage.png?alt=media&#x26;token=a87dafbc-7573-486f-a119-0cfde443d04b" alt=""><figcaption></figcaption></figure>

Similar to file audits, click the ✔ on the right to approve the audit after a second confirmation. Click ✖ to reject the operation. A reason must be provided for the rejection, with a maximum of 500 characters.Click on a specific text block item to view detailed audit information.

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FSFjQXSzMZNZ4hpikAcBg%2Fimage.png?alt=media&#x26;token=060b8e5a-3447-4eab-99d8-dfe9b7565219" alt=""><figcaption></figcaption></figure>
