It supports importing raw files of output into the general knowledge base of the enterprise knowledge engine, and supports document deduplicate, knowledge segmentation and storage configuration when importing. This article shows you how to use the imported general knowledge base operator.
You need to create a knowledge base of general content types in the enterprise knowledge engine to implement subsequent knowledge imports, see for details Create a New Knowledge Base.
After the knowledge segmentation operator, click the plus sign + to add the import knowledge base operator and configure the operator.
Configure basic information.
Parameter | Description |
|---|---|
Knowledge base type | Fixed as a general knowledge base. |
Knowledge Base | Select the knowledge base for the generic content type to import. Support click to create , quickly jump to the knowledge base page to create a common content type of knowledge base. |
Knowledge base storage path | The storage path after knowledge is imported into the knowledge base. |
Knowledge data name | Select the specified output parameter as the knowledge data name from the upstream node. |
Knowledge address | Select the specified output parameter as the knowledge address from the upstream node. |
Document deduplicate | The MD5 method of verifying the file content identifies whether the file content is consistent, and only identical files will be determined to be duplicates. After turning on the switch, the imported document content is exactly the same as the existing knowledge in the knowledge base, and it will continue to be imported. |
Click Next to configure segmentation and storage.
Parameter | Description |
|---|---|
Document type | Select the document type for knowledge segmentation. |
Segmented mode |
tip The configuration items for different document types may be different, please refer to the actual page information for configuration. |
Parsing strategy | Configure image VLM on demand to understand, remove headers, footers, document OCR and other parsing strategies |
Maximum segmentation length | The maximum character length of a single slice, including English and Chinese characters, punctuation marks, spaces, and so on. |
Knowledge enhancement configuration | Invoking the large model to extract richer knowledge points for each segment to build an index can improve the effect of segment recall, but it will increase the processing time and resource consumption.
|
Valid period | Set the valid period of knowledge. Support settings:
|
Import concurrency | Sets the upper limit on the number of concurrent imports of knowledge. |
Configure the data dependencies of tasks, and support configuring upstream dependencies and self-dependencies.
Further configuration of advanced parameters for the operator to perform tasks is supported.
Support setting multiple alarm rules, each alarm rule is set up to 5 alarm conditions. Each rule follows the logic of "or", that is, meeting anyone will trigger a notification. Supporting users choose results from the 3 types of alarm--abnormal alarm, failure alarm, timeout alarm--according to the drop-down box selection.
When the task execution meets the alarm conditions, it supports notifying the designated user through Lark, DingTalk, etc.