×
Community Blog How to Configure Alibaba Cloud's Intelligent Chatbot

How to Configure Alibaba Cloud's Intelligent Chatbot

In this article, I will guide you through the Intelligent Chatbot service provided by Alibaba Cloud and explain how to configure it.

Hello, I am Edwin Ji-wan Tack from the Alibaba Cloud Service Team. In this article, I will guide you through the Intelligent Chatbot service provided by Alibaba Cloud and explain how to configure it.

The Intelligent Chatbot (Tongyi Xiaomi) provided by Alibaba Cloud is an advanced AI chatbot service. It is a solution designed to help companies deliver AI-based customer responses and support through web crawling, document learning, and more. With the Intelligent Chatbot, you can integrate AI chatbot widgets into your website or mobile site, allowing Alibaba's AI to handle various queries from users quickly and efficiently. The Intelligent Chatbot is powered by Tongyi Qwen, AI Large Language Model (LLM) service developed by Alibaba Cloud, and is currently available only by using an Alibaba Cloud account.

Service Introduction Homepage: Alibaba Cloud Intelligent Robot

1

In this section, I'll introduce how to configure the Intelligent Chatbot (Tongyi Xiaomi).

Background

You need to activate Intelligent Chatbot (Tongyi Xiaomi) to use the AICC solution.

2

=> Chatbot configuration process

3

Step 1: Create a business space in the Intelligent Chatbot.

4

Step 2: Select LLM-Based Enterprise Edition.

The pricing follows a pay-as-you-go model based on the number of calls.

5

Step 3: Click "Enter the business" in the Operation column of the newly created business space.

6

Step 4: Specify the name of the business space and select the industry category. (In this example, E-commerce Apparel is selected.)

7

Step 5: On the homepage, click robot in the left-side navigation pane.

8
9

Step 6: Create a new robot. (It may take some time for the chatbot to become active after the configuration.)

10

Step 7: In the created robot, select options such as documents, Q&A, greetings, and options.

11

Step 8: Complete the final settings in Channel deployment and deploy the configured chatbot by clicking deploy. In this example, "the AI ​​chatbot has been deployed" means that your settings have been applied to the AI ​​chatbot. To use the AI ​​chatbot on your website, additional steps are required.

12

Step 9: If you want to use the chatbot URL, copy the URL indicated by the arrow.

AI chatbot configuration

Now, let's look at how to apply the AI chatbot to a custom webpage.

13

Step 1: Personal test page (for a client, go to the client's page)

● Go to 'cd /var/www/html'

● Enter the 'index.html' file by using 'sudo vi index.html' and edit the 'index.html' file

14

Step 2: To use the AI ​​chatbot URL directly, copy and use the provided URL.

15

Step 3: After you click Click Here, you will be directed to the configured AI ​​chatbot.

16

If you want to see the chatbot widget directly on your website, you need to set up the widget at the bottom.

17

Step 1: Customize the AI ​​chatbot widget icon and name, and enter the site address where the chatbot widget will be used.

18

Step 2: Copy the script and paste it into the script of your website.

19

Step 3: You will also need to enter the token value. This example shows how to obtain it.

20

xxxxxx) Add the token value

How to Verify the Token Value

Token creation link: Reference document link

OpenAPI link: OpenAPI token creation link

21

Step 1: Access OpenAPI Explorer and enter Name, Foreignid, and expire time (set to 0) in order. Enter the Agent Key. If the values are entered correctly, click Initiate Call to generate the Agent Key. If the call is successful, a ‘Success’ message will appear on the right, and you can find the Agent Key in the Data value.

22

Step 2: For reference, the Agent Key can be found in the AgentKey column of the business space created during the initial setup of the AI chatbot. Hover over the Agent Key to view the entire value. Copy the Key value and paste it into the AgentKey field in OpenAPI Explorer to make the API call.

23

Step 3: Insert the token value into the HTML body and save it.

24

Step 4: Finally, go back to the AI Chatbot console and click deploy to apply the configured settings and deploy the chatbot. If there are new tasks done or changes made, click deploy to apply them.

25

Step 5: Then, refresh the page. You can see the AI ​​chatbot widget added to the bottom right.

26

Step 6: Click on the chatbot widget to open the configured AI ​​chatbot chatroom, where you can start asking questions.

If you want to use English, specify the locale parameter in params.

params: {
_user_access_token: 'xxxxx',
locale: 'en-US'
}

27

Apply the value of the locale parameter.

How to Manage

28

Step 1: In the Cloud Customer Center, select ChatBot to access the AI chatbot service and adjust settings.

29

Step 2: In the Operation column of the business space that you want to use, click Enter the business to access the AI ​​chatbot that you are using.

30

Step 3: If training is required, go to the Document Management page. Here, you can upload documents for the AI chatbot to learn from, enabling it to provide appropriate responses. The number of documents you can upload depends on the AI chatbot model that you have purchased.

31

Step 4: If web crawling is required, add the URL you want to crawl on the Website knowledge page. The number of web crawling items you can apply also varies based on your chatbot model.

Don't forget to deploy the AI chatbot again after completing any changes or training.

Pricing

32

The following figure provides the chatbot usage pricing.

Billing Link: https://help.aliyun.com/zh/beebot/intelligent-dialogue-robot-tongyi-version/product-overview/product-billing

33

After all purchased calls have been consumed, a fee of CNY 27 per 1,000 calls will apply.

Related Documents

How to Customize AI Chatbot
=> Document learning, color change, and icon change.

How to Configure Chatbot Widget
=> How to apply the AI Chatbot widget to a customer's website

Get Token
=> How to generate a token

OpenAPI
=> How to extract data from OpenAPI Explorer


Thank you for reading. If you have other questions about the Intelligent Chatbot or other Alibaba Cloud services, contact us by sending emails to j.tack@alibaba-inc.com or abckr@list.alibaba-inc.com.

Thank you.

Edwin Ji-wan Tack
Technical Account Manager
Olympic Projects & Key Account Support

0 1 0
Share on

Edwin Ji-wan Tack

2 posts | 0 followers

You may also like

Comments

Edwin Ji-wan Tack

2 posts | 0 followers

Related Products