Basic concepts

Updated at:

This topic explains the basic concepts of the intelligent chatbot.

Business space

A business space is equivalent to a tenant and completely isolates data between spaces. A single enterprise account can create multiple business spaces. When you first activate the intelligent chatbot service, the system automatically creates one business space. You can then renew, upgrade, or downgrade the edition of an existing space, or create new business spaces with specific chatbot editions.

Concurrency

Concurrency is the ability of the intelligent chatbot to simultaneously handle requests from multiple users. If the number of concurrent users exceeds your edition's limit, you may experience slower response times. To handle high traffic and ensure fast responses, you can purchase additional concurrency.

Knowledge

In the intelligent chatbot, knowledge includes document knowledge, website knowledge, and FAQs. The chatbot uses this knowledge to answer user questions.

  • Document knowledge is knowledge from documents, such as PDF, DOC/DOCX, and TXT files. After you import documents, the chatbot uses their content to answer user questions.

  • Website knowledge is knowledge created by crawling text from specific web pages. After you add website links to the intelligent chatbot, the system crawls the content of those pages and any hyperlinked pages under the same domain, using this content as knowledge for the chatbot.

  • An FAQ (Frequently Asked Question) is a common user question paired with a corresponding answer, which you can maintain as knowledge. The Tongyi edition of the intelligent chatbot includes built-in large language model (LLM) comprehension capabilities. You can configure FAQs to address questions that are difficult to answer using only document content.

Data Q&A

Data Q&A converts a user's natural language question into an SQL query. This feature lets users query data tables in natural language, without needing to know SQL syntax.

Flow management

A flow is a series of predefined steps executed in a specific order under certain conditions to achieve a specific goal. It defines the interaction path between a user and the chatbot, helping the chatbot better understand user intent, manage conversation state, and optimize the user experience. In complex business processes, defining steps and logical branches ensures that the chatbot interacts with the user according to a predetermined logic, guiding them more effectively. The following is an example of a troubleshooting flow for a washing machine:

image

Annotation task

An annotation task involves manually reviewing the accuracy of the chatbot's answers. You can use a dimension template to customize the evaluation criteria and dimensions.

image

Dimension template

A dimension template is a reusable set of evaluation criteria used to assess the chatbot's Q&A performance during an annotation task. For example, you can define a simple dimension template to classify an answer as 'correct' or 'incorrect'. Dimension templates allow you to complete annotation tasks more efficiently and flexibly meet business requirements for chatbot performance evaluation.

image

Golden test set

A golden test set is a carefully curated dataset of user conversations used to evaluate the chatbot's conversational performance during an annotation task. You can create one by downloading and completing a template as required. A golden test set typically includes the user's query, the expected answer, the expected answer type, the expected source file name, and a SessionId.

image

Perspective

A perspective enables the chatbot to provide different responses to the same question for different users. After you configure perspectives, users who interact with the chatbot through different channels or customer touchpoints can receive personalized answers, leading to a better user experience. In the console, you can configure a single knowledge base to provide different answers for the same question based on various perspectives.