Realization of human-computer interactive intelligent question and answer robot

Source: Internet
Author: User

Human-Computer Interaction intelligent question and answer robot, this sentence contains the amount of information and technology is too large, here for everyone to split interpretation, and a Turing machine platform for example, the popular introduction of its technical realization principle.

First, human-computer interaction . In computer jargon, it refers to the interaction between the system and the user (person). The system can be a variety of machines, or it can be computerized systems and software. Usually we call the visible part of the human-computer interface, such as the display of computers, mouse and keyboard, aircraft control of various buttons and dashboards. Indifferent, human-computer interaction is not just a human-computer interface , it includes how to better understand and manipulate various systems, but also how to improve the availability and friendliness of various systems. Human-Computer Interaction in our daily life has been reflected in the aspects, we understand can.

Second, smart Quiz . First from the question and answer, asked: you eat, back: Eat , this is the whole process of question and answer, how to implement the question and answer process through the computer system? The most straightforward way is to put "Do you eat" in the database and its corresponding answer "eaten", through data matching to implement the question and answer process, which is the way to implement the early-answer robot-keyword matching. If the question is "have you Eaten", "you have eaten" or "eaten", this approach shows limitations. This is the "general question and answer", and the corresponding is the "intelligent question and answer", the realization of intelligence contains a lot of core technologies, such as artificial intelligence, natural language processing, semantic analysis, machine learning, and the Turing platform has put these technologies in the form of APIs free of charge, you can go to their official experience page Http://www.tuling123.com/openapi/cloud/proexp.jsp to feel the intelligence of the machine.

Third, the robot. The variety of robots is not only a traditional "humanoid device", we use mobile phones, computers, cars, all contain robot-like devices or applications, such as Android above the wormhole voice assistant, on-board system navigation system, these are in different scenarios of the robot. In combination with the previous two keywords, the robot we are talking about today is primarily a robot with "smart chat" functionality. Through The Intelligent Chat API, which is open by the Turing machine, the developer can use it for various systems and applications, such as public platform, QQ chatting robot, intelligent question and answer service, wearable device and so on, so as to generate different interactive and different forms of robot, but its core is still the Turing machine person's " Smart question and answer ".

Turing device human support multi-platform, the following introduction of Java access mode

/** call Turing man platform interface
* Packages that need to be imported: Commons-logging-1.0.4.jar, Httpclient-4.3.1.jar, Httpcore-4.3.jar
*/
public static void Main (string[] args) throws IOException {

String APIKEY = "Developer registered account, activation can be obtained";
String INFO =urlencoder.encode ("Today's weather in Beijing", "utf-8");
String Requesturl = "http://www.tuling123.com/openapi/api?key=" +apikey+ "&info=" +info;
HttpGet request = Newhttpget (Requesturl);
HttpResponse response =httpclients.createdefault (). Execute (Request);

200 is the correct return code
if (Response.getstatusline (). Getstatuscode () ==200) {
Stringresult = entityutils.tostring (Response.getentity ());
SYSTEM.OUT.PRINTLN ("Return result:" +result);
}
}

Realization of human-computer interactive intelligent question and answer robot

Related Article

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.