Data updates and build management
Alibaba Cloud Milvus supports building knowledge graphs and Wiki content through independent build tasks. This topic explains the relationships between tasks, source scope, changes to materials, and versions. For details about modeling and article configuration, see Ontology modeling and knowledge graph construction and Build and manage Wiki.
Configurations, tasks, and results
Saving a configuration does not automatically submit a build. You cannot submit another task for the same output while a task is running. If one type of output fails, you do not need to rebuild another type that has already succeeded.
Under Build tasks, view task status, stages, sources, and the configuration used. Submitted tasks run in the background and process the sources and configuration captured at submission. Subsequent changes may require a new task.
Disabling automatic builds does not stop running tasks. Manually canceling a build is not currently supported. Existing results remain subject to source validity and access permissions. A running task does not allow continued use of invalid sources.
Select the source scope
|
Configuration |
Scope |
|
Graph source scope |
Saved as the ongoing source scope for the graph |
|
Wiki build sources |
Determines the input for the current Wiki task and is independent of the graph scope |
|
All documents |
Uses parsed and enabled documents within the scope |
|
Specified documents or tags |
Restricts the business scope; the selection cannot be empty |
When only one source changes, you do not need to restrict the graph source scope to that source. Changing the scope from A+B to A withdraws B's contribution. Verify that this is the intended business change.
Manual and automatic updates
The first build must be started manually. The separate automatic build switches for the graph and Wiki are disabled by default. For ongoing updates, open Automatic build settings under Build tasks and configure the graph and Wiki separately. Enabling a switch does not automatically scan historical materials. Perform a manual synchronization first if necessary.
|
Change |
Considerations |
|
A source is added or its content changes |
Build manually if automatic builds are disabled. If automatic builds are enabled and the baseline is valid, changes are processed within the configured scope after source parsing/indexing succeeds |
|
A source is deleted or disabled, access is revoked, or the scope is narrowed |
Related content is excluded from retrieval and question answering, and is then withdrawn, regardless of the automatic build switch |
|
Another change occurs during a build |
The current task uses the original submission snapshot. Newer changes may still be marked as awaiting a build |
|
A build fails |
Review the task sources and configuration, fix the issue, and resubmit. Older results that are still valid are retained |
For example, after a service policy adds a covered region, update the corresponding source. Then verify that the graph, Wiki, and answers reflect the new policy and retain unchanged terms. Uploading a file with the same name does not necessarily mean that replacement succeeded. Do not keep both old and new revisions as valid sources. For manually edited Wiki pages, also review and adopt update suggestions.
After withdrawing service coverage materials, you cannot continue to use the invalid source to confirm service coverage. Wiki retains its own independent source scope.
Rebuild after changing settings
After changing a graph schema, Wiki template, or generation requirements, rebuild to establish and verify a new baseline. Automatic builds for the corresponding output are paused, while the other type of output is unaffected. Verify the new results before resuming routine automatic updates.
Use the correct version
Use the draft to verify current edits and build results. If your business requires fixed knowledge content, publish a knowledge base version that includes the required outputs, and configure the application to use that version.
A new revision in the draft does not mean that a published version has been updated. Verify results within the same knowledge base and version. A fixed version cannot bypass current permissions or source validity checks.
Troubleshoot task issues
|
Symptom |
Checks |
|
No output is available after saving |
Verify that the corresponding build task has been submitted |
|
A task makes no progress for a long time |
Review the stage, sources, and errors. When contacting technical support, provide the knowledge base ID, task ID, and submission time. Verify the execution workflow before investigating model calls |
|
A build fails |
Check the sources, permissions, configuration, and model based on the error, then resubmit. Avoid repeatedly creating identical tasks |
|
Changes are still marked as awaiting a build after a successful build |
Check whether sources or configurations changed after the task was submitted |
|
Results do not match the current materials |
Check effective source revisions, the task's submission snapshot, and the version used by the application |