Resources required:
Turing Robot Account
WeChat public account
Click to visit the official website of Turing Robot, register quickly and have your own chat robot. You can try it here first
Today we will briefly describe the construction of the WeChat public platform chat robot. First, you need to register a WeChat public account, and then log in to your Turing account on the Turing Robot website. You can see the interface as shown in the screenshot. In "Robot Settings" The "Customize" interface allows you to set the robot's nickname, age, gender and other information. The "Robot Training" interface allows you to teach your robot to answer specific questions. The "Knowledge Base" allows you to import the knowledge base to increase the capabilities of your robot~~~
The part circled in red is the URL address that needs to be set in the WeChat public platform account. Go to the WeChat public platform and log in to your WeChat public account. You need to open the developer mode, enter the developer center, and configure the WeChat public account. Server configuration information
The URL is filled in as the url after the WeChat address on the Turing website, and the Token can be filled in as you like. Turing server does not verify it (if you do WeChat development yourself, you need to verify it), the encryption key can be randomly generated, and the message For the encryption mode, you must choose plaintext mode or compatibility mode, because if you choose the encryption mode, the message will be encrypted, the server will not be able to respond correctly, and the WeChat server will be unable to verify the message
After filling in, enable developer mode
The above is the entire content of this article, I hope you all like it.