Data modeling through dialogue
To model an authorized data source or adjust existing models based on business requirements, you can describe your objective directly to a Digital Employee without first creating a connector. This topic uses a Simple Log Service project as an example to describe the conversational modeling process.
Prerequisites
-
The Digital Employee that performs modeling is selected and can access the destination data source.
-
The data source name and region are determined. For cross-account access, use an authorized connector or access identity.
-
If existing entities must be associated, the corresponding entities are already connected to the current modeling destination.
Step 1: Start a modeling dialogue
-
Log on to the STAROps console and select the desired Digital Employee.
-
On the Data modeling page, click Intelligent modeling. Alternatively, describe the modeling requirements directly in a dialogue with the Digital Employee.
-
Enter and send the final objective. Example: Model the project named order-prod in the China (Shanghai) region.
To review the plan first, add "Generate a plan first and apply it after I confirm." You do not need to specify internal commands or artifact directories in the request.
Step 2: Confirm the source and storage destination
A standard Digital Employee dialogue maintains the models of the current Digital Employee by default. To maintain models in a CloudMonitor Service (CMS) workspace, specify the workspace and verify the destination used by the session. Example: Model the order-prod project in the ops-prod CMS workspace and generate a plan for my confirmation before applying it.
Only one model storage destination can be used for each modeling task. Selecting a project or workspace as the data source does not authorize writes to multiple destinations. Resources with the same name but in different accounts or regions cannot substitute for each other.
When the STAROps entry integrated with CMS already provides a clear workspace context, verify that the context matches your expectation. If ambiguity remains, specify the workspace name and region in the dialogue.
Step 3: View and adjust the plan
After the Digital Employee completes exploration and validation, the models and changes are displayed on the Data modeling page of the current session. Before application, check the data scope, field meanings, relationships, and prompts that require attention.
To make adjustments, submit comments on the page or describe the requirements directly in the original session. Example: Retain the order_id and service_name fields in the order logs, and change the unit of response time to milliseconds.
The Digital Employee adjusts the current plan. Review the adjusted results. Do not interpret "plan generated" as "model written".
Step 4: Confirm and verify
-
After confirming that the plan meets your expectations, click Confirm modeling on the Data modeling page.
-
Send the approval message that the page enters into the current session and wait for the Digital Employee to apply the changes.
-
View the actual application and validation results, and verify that the model storage destination, data access, and relationships meet your expectations.
If you only want to review the plan and are not ready to apply it, do not confirm it, or explicitly instruct the Digital Employee not to write the changes. To further evolve the results, submit new adjustment requirements in the original session.