Knowledge enhancement

Updated at:

This document describes the knowledge enhancement feature and explains how to use it.

1. Overview

Use AI capabilities, such as document summarization and key field mining (metadata mining), to enhance your documents. This process improves chatbot Q&A accuracy.

2. Procedure

1. Create a knowledge enhancement policy

  • Click knowledge enhancement policy to open the policy management window.image

  • Click Create Policy to open the new knowledge enhancement policy window. Enter a policy name and select a policy type.

    • Policy types include: content summary and key field mining.

      image

    image

2. Policy type: content summary

  • After you select content summary as the policy type and enter the basic information, the page appears as follows:image

  • To modify the scope for summarization, click advanced settings. You can then select the paragraph range to summarize and add specific requirements or instructions. For best results, select long sections of text for document summarization.image

  • Click Save to create the policy.image

  • Click Apply Policy, and then select the categories and documents to apply the policy to.image

  • The following figure shows the status after the knowledge enhancement is complete. Click View to open the document chunk management page. Then click summary to view the summary for this document.imageimage

3. Policy type: key field mining (metadata mining)

  • When you select key field mining as the policy type, select a document information table, choose the mining fields and the mining source, and then provide a knowledge background and examples.

    • Document information table: You can use key fields in a document as search criteria. This helps filter out irrelevant documents and affects the retrieval ranking in the retrieval-augmented generation process. For instructions on creating a document information table, see document information table.

    • Mining field: This setting lists the fields from the selected document information table. Select the fields you want to mine.

    • Mining source: Specify which parts of the document to mine for the current field. The supported sources are Document Title, Document Content, and Document Summary.

    • Knowledge background: Provide background information to help the model produce better results, such as concept explanations, proper nouns, or product categories.

    • Example: Provide an example to help the model produce better results.image

  • On the right, you can select a document to test your configuration.image

  • Once you are satisfied with the test results, click Apply Policy. You can view the mining results on the document details page.imageimage