tencent cloud

Knowledge Base Schema
Last updated:2026-02-05 09:40:28
Knowledge Base Schema
Last updated: 2026-02-05 09:40:28
Knowledge Base Schema is the information that describes the data structure within the knowledge base, providing the basis for the composition of the knowledge base to Intelligent Agent applications. It is mainly reflected in the knowledge retrieval and calling effect within the application, so it needs to be configured in the Knowledge Management of the application. Knowledge base data is divided into two types: structured data and unstructured data.
Structured data includes databases. When introducing a database into the knowledge base, no need to generate a Knowledge Base Schema.
Unstructured data includes the normal chain of knowledge base documents, primarily composed of documents and QA. Document-based knowledge refers to knowledge stored in document form, including data formats such as Word, PPT, spreadsheet, and images. Schema contains the file name, abstract, and Tag of the document. When the number of documents is large, the knowledge base Schema generation process will automatically perform clustering on the knowledge base. Upon completion, folderName and folder digest information will be generated. In this case, there is no need to import document Tags.
Definition
Description
File Name
The file name of the uploaded file may have meaning or may not have clear semantics.
Folder Name
Auto clustering summarizes the generated folderName.
Abstract
A 50-word abstract of the file content, generated by the large model.
Folder Abstract
Content description of the folder, a summary of the folder content generated by the large model.
Label
User-defined document tag. Default if not defined.
Q&A knowledge exists in paired "question-answer" format. Schema includes Question, Answer and Tag.
Definition
Description
Question
User setting issue content.
Answer
Matching answer to the corresponding question.
Label
User-defined Q&A pair tag. Default if not defined.

Creation method

The operation of the knowledge base search Agent depends on the Knowledge Base Schema. Click Application > Knowledge, then manually click Knowledge Base Schema. After generating the schema, you can view the schema information of each knowledge base separately.



Click Knowledge Base Settings to adjust the generative model of the Knowledge Base Schema.



Note:
Generating Knowledge Base Schema will consume tokens and incur fees. The specific dosage depends on the scale of the knowledge base document. The billing model is based on the generative model selected in Knowledge Base Settings.

Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback