Creation and Data Sources¶
When creating a knowledge base from Resource Center > Knowledge Base in the Data workspace, you first enter basic settings to initialize the library, then open its Data tab to append files or data tables from Catalog. After creation, inspect processing status in the details view before running retrieval tests.
To upload local files or folders directly inside the creation wizard, switch to Agent mode and use Resource Center → Knowledge Bases as described in Create a knowledge base and import material. In the Data workspace, load local files or external database tables into Catalog via Import data first, or call the upload local file API.
Prerequisites¶
Confirm you are in the target workspace with permissions to create or update knowledge bases (see Role Permissions).
Target files or data tables are already available in Catalog and accessible to your role.
If source tables still reside in an external database, ingest them via Connectors and import tasks first.
Create a knowledge base¶
In the Data workspace sidebar, open Resource Center > Knowledge Base and select the creation button to open the Create Knowledge Base dialog.
Enter the required Knowledge Base Name (up to 255 characters; lowercase letters, numbers, underscores, hyphens, periods, and Chinese characters only; cannot start with a hyphen or period; immutable after creation).
Optional: Enter Remark describing what this knowledge base covers so users and agents can identify it accurately.
Optional: Expand Advanced options and turn on Enable image index if you need vector indexing and retrieval for image content.
Select Finish. MOI initializes an empty knowledge base under the workspace’s shared knowledge Catalog and opens its details page.
Add data (append from Catalog)¶
On the knowledge base Data tab, click the add-data button to open Select Data (this workspace view appends sources from Catalog only):
Material location |
How to add |
|---|---|
Existing documents, audio, video, images, or tables in Catalog |
Select directly in Select Data and click Append |
Local files not yet uploaded to Catalog |
Load into Catalog via Import data, create from Agent mode (Create a knowledge base and import material), or use Upload a local file to a knowledge base |
External database tables |
Import into Catalog first via Import data, then append from Catalog |
Steps:
In Select Data, browse Catalog, Database, and Table / Volume. Only supported documents, audio, video, images, and data tables appear; unsupported formats such as
ZIPare hidden.Select target files or tables and check the selected-count summary.
Once count calculation completes, select Append.
Removing a source from a knowledge base only removes the association; it does not delete the underlying file or table in Catalog.
Verify the added data¶
Confirm that the newly appended files or tables appear in the Data tab.
For unstructured files, monitor Processing status until it reaches Completed / Ready (tables are immediately ready for semantic config and queries).
If tables are included, configure Segments and Semantics, then validate answers in Chat and Retrieval.
To return later, click Advanced configuration on a knowledge-base card and open Data. Distinguish deleting a single source from deleting the entire knowledge base by checking bound agents before removal; see Manage knowledge-base data.