Knowledge compilation is a set of business domain-oriented knowledge processing capabilities, which supports the compilation of original documents in the knowledge base into consumable structured products in the knowledge compilation space, including ontology semantics, Knowledge Graph, LLM Wiki and other forms. Through the process of "Building Compilation Space > Describing Business Objectives > AI Intelligent Generation Compilation Scheme > Review and Tuning Scheme > Release Assets > Packaging as Agent Skill", Intelligence efficiently builds business knowledge into a consumable knowledge base for Agents, and transforms the traditional manual construction + review and confirmation process into a new way of AI construction + review and confirmation. While improving the efficiency of knowledge construction, it relies on manual review to ensure that the quality of knowledge content is controllable.
Step 1: Create a new knowledge compilation space
You can divide different knowledge compilation spaces by business and handle matching knowledge compilation requirements within the spaces.
- Log into the Marketing Agent console and select Enterprise Knowledge Engine in the left navigation bar.
- In the left navigation bar of the Enterprise Knowledge Engine, select Knowledge Management > Knowledge Compilation.
- Click on the knowledge compilation space on the right side of the page.

- In the New Knowledge Compilation Space dialog box, customize the space name and description, and click Create.

Once created, you can view the space in the list of spaces.

Step 2: Compiling Knowledge
- On the knowledge compilation page, click the specified space name to enter the compilation space session page.
On the conversation page, you need to add knowledge base knowledge and describe the compilation target in natural language to perform knowledge compilation functions.

- Add knowledge.
- In the upper right corner of the page has added knowledge area, click knowledge.

- In the Knowledge Base list, select Knowledge and click Save.

- Enter the compile target in natural language in the conversation box and send.
Support call Skill, support reference knowledge, taking the ontology semantic construction template provided by the system by default as an example, the compilation knowledge process is as follows:
- Select the ontology semantic build template and reference the knowledge by @.

- After sending, wait for the knowledge compilation to generate a Schema proposal, and click Edit to go to the Schema details page.

- View Schema content, if not as expected, you can edit the content by yourself. After confirming that it is correct, click Confirm and start extracting instances in the lower right corner of the page.

- After waiting for the knowledge compilation to generate an ontology instance, click Review.

- On the Build Results: Instances page, review object instances and relationship instances.
- Supports one-by-one or one-click review of all instances.
- Support editing attribute details. After editing, you need to click Save Draft to review.

- After the review, in the text box request knowledge compilation build map.

- View the graph and select any graph node to view the corresponding object, relationship, and attribute information.

On the right side of the page, click View Instance List, and select Instance View Map.

Step 3: Publish Resource and Acquire Skill
After the knowledge compilation is completed, all the resources in the current session can be published online, and the published resources can be encapsulated as skill packages (unpublished resources cannot be encapsulated). Later, you can import the skill packages into other agents to consume the compiled knowledge.
- On the right side of the Knowledge Compilation Session details page, confirm that the Schema, Instance, Graph, and other resources have been published. Click Publish for unpublished resources.

- Wait for the skill build to complete and download the skill.

Skill will be added to the agent to achieve the corresponding knowledge query function.

Manage space and assets
- In the knowledge compilation list, edit or delete the knowledge compilation space is supported.

- Edit: Support modifying the space name and description.
- Delete: Delete the current space. Once deleted, it cannot be restored. Please proceed with caution.
- Enter the asset tab on the right side of the knowledge compilation space details page, which supports online or offline assets.
