Knowledge Q&A assistant

Updated at:

The Knowledge Q&A assistant answers based on official DataWorks documentation and frequently asked questions. It is suited to querying DataWorks product concepts, operation steps, capability differences, and usage limits. This topic describes the capabilities, creation method, scenario workbench usage, and usage notes of the Knowledge Q&A assistant.

Overview

The Knowledge Q&A assistant is used to query DataWorks product concepts, operation steps, capability differences, and usage limits. Its answers are based on official DataWorks documentation and frequently asked questions. It applies to scenarios such as using a feature for the first time, comparing feature differences, and verifying version limits.

The answers of the Knowledge Q&A assistant are based on the retrieved official documentation and indicate the sources. When the retrieved material is insufficient to support a conclusion, the assistant explains why it cannot answer.

Create a Knowledge Q&A assistant

Before you create the assistant, confirm the following items:

  • The execution identity (access to DataWorks) is determined. For personal use, you can select the current logon user. For shared use, you can create a RAM role and add the role to the corresponding workspaces.

  1. Log on to the DataWorks console, select the target region, and click AI Assistant Service in the left-side navigation pane to go to the AI Assistant Service page.

  2. In the Recommended scenarios area, click the Knowledge Q&A assistant scenario card. In the Scenario description dialog, review the scenario description, preset Skills, and preset expert suites, and then click Use this scenario.

  3. In the Create from scenario window, enter the instance name and description, and select a resource group as required by the page.

  4. Select the execution identity (access to DataWorks). The data that the AI assistant can query is subject to the actual permissions of the execution identity.

  5. Review the preset Skills and preset expert suites listed on the creation page, and then click Create now.

After creation, the instance may take several minutes to initialize. After initialization is complete, click the instance in the instance list to enter the Scenario workbench.

The Knowledge Q&A scenario does not preset scheduled tasks. To run Q&A tasks periodically, create them separately in the instance and confirm the data sources and notification recipients of each task at creation.

Use the scenario workbench

The scenario workbench of Knowledge Q&A provides official documentation retrieval: enter a feature name or question in Document keywords, and the workbench lists the matched documents. Click a search result to open the details and view the Query records and the official documentation text. Click Ask based on documents to write the selected document into a conversation draft as the question background.

Retrieve official documentation and view results

  1. Enter a specific feature or question in Document keywords, such as "baseline alerts" or "resource group network connectivity".

  2. View the titles and summaries of the search results. Click a document to open the Query records and the official documentation text, and confirm the matched source and citation location.

  3. Adjust the keywords and search again: use a more specific product name or feature term, or add the product module and the complete feature name, to improve retrieval accuracy.

Result: The workbench lists the search results by document and displays the titles and related content. After you open the details, you can use the query records to understand the matched source and use the official documentation text to verify the citation location.

Ask based on documents

  1. Click Ask based on documents on the target search result. The workbench writes the selected document into a conversation draft as the question background.

  2. Review the question in the draft, add a specific question as needed, and then send it. For a long document, you can ask about one specific operation, such as "What permissions does step 2 require?" or "Which version does this limit apply to?".

  3. View the answer and open the official documentation text to verify the citation location.

Result: The AI assistant answers based on the content of the selected document. You can verify the source of the answer through the query records and the official documentation text.

Ask questions directly in a conversation

  1. Open the conversation page of the Knowledge Q&A instance.

  2. Describe the feature, difference, or limit that you want to query in natural language, and send the question.

  3. View the answer.

Sample questions:

  • How do I configure DataWorks intelligent baselines? Cite the official documentation to describe the prerequisites and operation steps.

  • What is the difference between strong rules and weak rules in data quality? Provide the applicable scenarios and the source.

  • Is this feature supported in the version that I use? If the material does not specify this, point it out directly.

Result: The AI assistant returns conclusions and sources based on official documentation and frequently asked questions. When the retrieved material is insufficient to support a conclusion, the assistant explains why it cannot answer.

Usage notes

  • Answers indicate sources: The answers of the Knowledge Q&A assistant are based on the retrieved official documentation, and the sources can be verified through the Query records. For content involving version limits, billing, or permissions, the applicable conditions in the official documentation text prevail.

  • Search separately for cross-module questions: The search results cover only the material matched by the current keywords. When one question involves multiple product modules, search separately and verify the documentation for each module.