How to add a chat bot to the WeChat official account-My Alpha Dog 1.0 adoption and use guide

Recently I opened an official account to play with, and I have seen some chat bots in some groups before, so I wanted to connect the chat bot to the WeChat official account to try.

Now there are some more mature products on the Internet, some are free, some are charged, you can directly access the WeChat official account to achieve some basic chat and practical functions, and you can also customize some personalized chat answers.

I recommend an article here, and the summary is still more detailed: Chatbot API Collection Summary

In addition to the chat bots mentioned here, I also tried Diting Robot: Diting Robot Official Website

Finally, I saw that the WeChat Dialogue Open Platform ( official website ) is also doing related content. I also tried it and found that it was not bad, and WeChat should also develop in this area in the next step. Finally, I chose WeChat Dialogue. An open platform chatbot.

After registering, you can come to the following interface:
1
There are teaching videos and usage documents at the top of the page, and you can click to learn more about the specific usage. At the bottom of the page, there are mainly custom dialogue skills, system dialogue skills, store skills, and acquired skills.

Let me briefly talk about some basic operations:

1. Basic settings

Click the setting button in the above page, we can enter the basic setting page of the robot.

In the column of my robot , you can set the chat nickname and some basic information:
1
you can see that I set the nickname of my chat bot to Alpha Dog, so that when the user chats with him, he Just chatting as Alpha Dog, it will not be the official default Xiaowei.

In the open service access section, you can bind the chat bot to your official account or mini program:
2
in the management authority section, you can set up some administrators, editors, and testers to jointly maintain your chat bot.
3

2. Customize dialog skills

Custom dialog skills are actually some customized skills that are defined by themselves that are different from the general version of the chat bot.
4
Click Create Skill, you can create your own defined dialog skills. Here is an example of the personalized dialogue I created.

First, let's take a look at the setting of the questioning method:
5
for the question of who are you, I added "who are you", "who are you in the end" and other user questions. In addition to exhaustive lists, some rule-based settings can also be made. Here should be Tencent's own semantic understanding framework, which can equate the similar question of users with the question of "who are you". The lower the intent similarity is set, the stronger the generalization ability.

Then let's take a look at the answer settings:
6
here I set three answers, when the user asks "Who am I", or the question method of the consent map I set, or if Tencent recognizes the user's intention, chat The robot will randomly reply to one of these three answers.

3. System dialogue skills and shop skills

These are some of the skills that come with the system or provided by other users, and you can use them by referring to the instructions for use of related skills.
7

4. Debug and release

Finally, you can click on the robot to debug and try to talk to him to see if the function is feasible. If you are sure that the function is normal, you can click on the robot to publish and the update is online!
8

5. Alpha Dog 1.0 User Guide

The following is an example of connecting my chat robot Alpha Dog to the WeChat official account.

When a new user pays attention, the automatic reply I set is:

Welcome to follow! I’m not a Gootou Sergeant, I’m a robot Alpha Dog. You can talk to me directly (Guotou Tucao: basically can’t talk), or you can use the following function to interact with me (reply "function" to see if I have some What function)! You can add me to the desktop, so you can talk to me at any time to use the function!
My function:
1. Reply to the "thinking model", I will secretly give you a knack-headed military division's tips.
2. Reply to "Enter Idioms Solitaire", come and learn idioms while playing games with me!
3. Reply to "time + city + weather" (such as "beijing weather tomorrow"), I will tell you the result of my night observation of the sky.
4. Reply to "city + news" (such as "Beijing News"), or "topic + news" (such as "entertainment news"), I will show you what happened today.
5. Reply to "coming song", or "singer name + song name" (such as "Faye Wong agreement"), I will play a song you like to listen to for you.
6. Reply to "coming cross talk/storytelling", or "actor + cross talk" (such as "Guo Degang cross talk"), I will make you happy.
7. Reply to "What day is the day of the week after X days" (for example, "What day is the day after 10 days") to quickly view related information.
8. Reply to "telling jokes/love words" and see what I want to say to you.
9. Reply "Help me check the courier", I will help you see where your courier has arrived!
10. Reply to "time + city + end of line limit" (for example, "end line of line limit in Beijing tomorrow"), and I will check it for you.
11. Reply to "Dream +XX" (for example, "Dream to catch fire"), I will help you see what this dream means.
12. Reply to knowledge points such as "the highest mountain in the world" and "China's land area", I can tell you directly!
If you forget it in the future, you can check it by replying to the "function"!

The first function was added by myself, and the other functions are all the skills in the open platform of WeChat Dialogue.

If the user forgets the command, reply the "function" keyword, and then automatically send the above content to him again. (It can be achieved through the automatic reply function of the WeChat public platform, or set a skill for the chat bot)

If you want to try it, you can scan the QR code below to follow my official account!

▼Long press the QR code below to follow us▼
(微信ID:not-a-dog-brain)

1

Guess you like

Origin blog.csdn.net/weixin_43795921/article/details/105679606