The Customer service dialogue function is to capture the sentences entered by the customer and give the appropriate response.
Using keywords to do it can be cumbersome and often handled incorrectly. The use of natural language to understand the open system is much simpler, I use the Euler Honey Intelligent open platform to try a bit of good results, a simple record of the process:
1. Writing grammar
Grammar is the sentence pattern of the user you want to capture, such as "yes", "Hello" and so on.
Specific use of the method can refer to my other blog using the Euler Honey development platform to make voice assistant
For the time being, the module name is "Test", which specifically explains the use of custom replies, such as "answer" and "semantic" options when writing grammar, and choose the answer here. Then add the statements that you want to reply randomly. Grammar must be published after writing, remember.
2. Add a module to your app
Create your own app in my app, like the name "Customer Service Dialog", and add the module test you just added.
3. Testing
To test if your corpus can get the correct response, here's a random response:
4. After all the grammar has been written, you can happily use the app key and app secret to call the API interface to get the data.
Also attached API interface call Demo
Small Program Experience: Scan the image below:
QQ group Technology, if there are problems can be discussed here
Realization of intelligent Customer service development with Euler's language development platform