Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Conversation generation method and device based on artificial intelligence, equipment and storage medium

An artificial intelligence and dialogue technology, applied in the field of intelligent robots, can solve problems such as inappropriate output, unsatisfactory output, and difficulty in combining contextual information, so as to achieve the effect of improving output accuracy, reducing the probability of being a reply, and reducing the generation of universal answers

Active Publication Date: 2019-11-15
CLOUDMINDS SHANGHAI ROBOTICS CO LTD
View PDF6 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the responses returned by retrieval chatbots are often relatively single, unable to output answers outside the answer library, and difficult to combine contextual information
The responses generated by generative chatbots are difficult to control, and are more prone to grammatical errors and even some inappropriate expressions
[0004] To sum up, the output of the two implementations of the current chat machine is not ideal, and the accuracy is low

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Conversation generation method and device based on artificial intelligence, equipment and storage medium
  • Conversation generation method and device based on artificial intelligence, equipment and storage medium
  • Conversation generation method and device based on artificial intelligence, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In order to make the object, technical solution and advantages of the present invention clearer, various embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. However, those of ordinary skill in the art can understand that, in each implementation manner of the present invention, many technical details are provided for readers to better understand the present application. However, even without these technical details and various changes and modifications based on the following implementation modes, the technical solution claimed in this application can also be realized.

[0028] The first embodiment of the present invention relates to a dialog generation method based on artificial intelligence. By obtaining the sentence to be replied, input the sentence to be replied into the retrieval model, wherein the retrieval model is used to filter out K candidate replies that respond to the sentence to be replied from...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention relates to the field of intelligent robots, and discloses a dialogue generation method and device based on artificial intelligence, network equipment and a storage medium. The dialogue generation method based on artificial intelligence comprises: acquiring a to-be-replied statement, and inputting the to-be-replied statement into a retrieval model, wherein the retrieval model is used for screening K candidate replies responding to the to-be-replied statement from a preset dialogue corpus, and K is a positive integer; obtaining K candidate replies output by the retrieval type model, inputting the to-be-replied statement and the K candidate replies into a generative model, screening out prediction words by utilizing the generative model according to the to-be-replied statement, the K candidate replies and the inverse document frequency of each word in the dictionary, and outputting a prediction reply formed by utilizing the prediction words; and obtaining areply statement according to the prediction reply. According to the dialogue generation method and device based on artificial intelligence, the network equipment and the storage medium provided by the embodiment of the invention, the output precision of the chat robot can be improved.

Description

technical field [0001] The present invention relates to the field of intelligent robots, in particular to an artificial intelligence-based dialog generation method, device, equipment and storage medium. Background technique [0002] Chatbots, also known as dialogue systems. At present, there are two main implementation methods of chatbots: one is retrieval and the other is generation. Retrieval chatbot refers to finding the most suitable answer from a large number of existing candidate answers as a response to the user through retrieval and matching; generative chatbot uses a large amount of dialogue data to train the model, using Responsive sentences are generated word by word or word by word by combining conversation history and user input. [0003] However, the responses returned by retrieval chatbots are often relatively single, unable to output answers outside the answer library, and difficult to combine contextual information. The responses generated by generative c...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F16/332G06F16/33
CPCG06F16/3329G06F16/3344G06F16/3347
Inventor 张世西贾志强
Owner CLOUDMINDS SHANGHAI ROBOTICS CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products