Using the Turing API to create a micro-chat robot _php Skills

Source: Internet
Author: User

Resources that need to be prepared:

Turing person account

Micro-Credit Public account

Click to access the Turing machine People's official website, quickly register, have their own chat robot, you can experience here first

Today, we mainly describe the construction of micro-letter public platform chat robot, first need to register the micro-letter public account, and then in the Turing machine People's website login to your Turing account, you can see the screenshot as shown in the interface, in the "Robot settings" interface can be a robot nickname, age, gender and other information settings, in the "Robot tuning" Interface can teach your robot to answer specific questions, "Knowledge base" can be imported into the knowledge base, increase your robot's ability ~ ~ ~

The red circled part is the need to set up in the micro-credit public platform account URL address, go to the micro-credit public platform, login to your micro-credit public account, you need to open the developer model, access to the developer center, configure the micro-credit public account server configuration information

URL is filled out as a micro-address on Turing's website after the Url,token at random fill it out, Turing server side does not verify (if you do micro-credit development to verify), encryption key randomly generated, message encryption mode to select Clear-text mode or compatibility mode, because the choice of encryption mode will cause message encryption, The server side cannot make the correct response and the micro-server will not be able to authenticate the message

When you are finished, enable developer mode

The above mentioned is the entire content of this article, I hope you can enjoy.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.