SLS DataAgent FAQ
Product and models
What is the difference between a Source Model and a Context Model?
A Source Model maps one-to-one to a project and describes the current data structure, the meaning of each field, the metrics, and the terms. A Context Model targets a business scenario. It can be associated with one or more Source Models and adds unified metrics, terms, and query examples. A DataAgent answers questions based on the Context Model.
Can I bind a Source Model directly to a DataAgent?
No. Generate the Source Model first, create a Context Model to aggregate the required data, and then bind the Context Model to the DataAgent.
Can a Context Model be associated with multiple projects?
Yes. Each project generates its own Source Model first, and the Context Model then aggregates them. Combine only data that belongs to the same business scenario so that metrics with the same name from different business lines do not interfere with each other.
Can a DataAgent be bound to multiple Context Models?
The current design supports binding multiple Context Models. Bind only the models that the DataAgent needs to fulfill its responsibilities. Binding too many models increases ambiguity about data sources and metrics.
Can I provide a Context Model to my own enterprise agents?
The product roadmap includes this direction, but the console help documentation does not yet describe an official integration method. Open APIs, authentication, and SLAs are subject to the official release notes.
Semantic generation and synchronization
What does the adoption status mean?
-
Automatically adopted: Sufficient evidence exists, and the system confirms the content directly.
-
Not adopted: The content is ambiguous and requires manual confirmation or editing.
-
Manually adopted: The content is adopted after you confirm or edit it.
A DataAgent uses only automatically adopted and manually adopted content.
Why can't I see my recent changes in the Context Model?
Confirm that you made the change in the corresponding Source Model and that the element is adopted. Then wait for the automatic synchronization or trigger a manual synchronization. In the current public preview, the maximum synchronization delay is 60 seconds. The official value is subject to the published documentation.
Why did a deleted element reappear?
Elements synchronized from a Source Model are managed by the Source Model. If you delete them directly in the Context Model, they may be restored at the next synchronization. To modify or permanently remove an element, make the change in the Source Model or in the data source association.
Does regenerating a Source Model overwrite manual changes?
The current public preview confirms only that regeneration updates the model in place. The merge rules for all manual changes are not fully documented. Before you regenerate an important model, record the content that you manually confirmed and review it after the task completes.
DataAgent usage
Why does the DataAgent ask me to select a metric or a data source?
The same question can match multiple business definitions or LogStores. The DataAgent asks for clarification instead of guessing. Select the candidate that matches your current question. If the same type of clarification occurs frequently, add more accurate names, descriptions, or query examples to the Context Model.
How do I troubleshoot a DataAgent that cannot answer a question?
Check the following items in order:
-
Whether the DataAgent is bound to the correct Context Model.
-
Whether the Context Model is connected to the target projects and LogStores.
-
Whether the relevant semantics in the Source Model are adopted.
-
Whether the model updates are synchronized.
-
Whether the Resource Access Management (RAM) role has read permissions on the target data.
-
Whether the question specifies a time range and an analysis target that can be queried.
How do I verify the data in an answer?
Check the time range, the metric definitions, the data sources, and the filter conditions. For key numbers, reproduce them on the Simple Log Service (SLS) query page or in an existing dashboard. If the data is incomplete or the query definition is unclear, do not use the answer directly for alert handling, business decisions, or external reports.
Do existing sessions use the new rules immediately after I modify the System Prompt?
The current public preview does not fully confirm how the new rules take effect in existing sessions. After you modify the System Prompt, start a new session to test the new rules. The exact behavior needs to be added to the official documentation.
Can a DataAgent modify business data or cloud resources?
The current documentation covers only SLS data query and analysis. It does not provide the ability to write data, modify configurations, or operate on cloud resources.
Permissions
Insufficient permissions are reported when you create a DataAgent
Check whether the current RAM user has permission to create DataAgents and has the ram:PassRole permission on the selected RAM role.
The DataAgent is created, but a permission error is still reported when you query data
Creation permissions control only whether a user can manage the DataAgent. Data access at runtime is determined by the RAM role bound to the DataAgent. Grant that role read permissions on the target projects and LogStores.
How do I choose between the system default role and a custom role?
The system default role is suitable when you want to get started quickly. In a production environment, or when you need to narrow the scope by business line, project, and LogStore, use a custom role and follow the principle of least privilege.
Regions, quotas, and billing
Why can't I find the target project?
Confirm that the region selected on the Source Model page matches the region of the project. Then check whether the region is available and whether the current account has access permissions.
What do I do if I reach the quota for models or DataAgents?
In the current public preview, the default quotas are 50 Context Models per account and 50 DataAgents per user. The quotas may be adjusted. First, clean up the objects that you no longer use. If you still need to increase the quota, follow the official quota application process.
How is SLS DataAgent billed?
SLS DataAgent is billed as a separate product. You are charged DataAgent Credits fees based on the number of tokens that are actually consumed. The unit price is CNY 0.01 per credit. For more information, see DataAgent billable items.
Configuration saving
Some configurations are lost after I edit a DataAgent
In the current public preview, editing may save the entire configuration at once. If you leave optional fields such as the description and the System Prompt blank, they may be cleared. Before you save, check all the fields that you want to keep.