简体   繁体   中英

How to integrate an external NLP technique to Dialogflow?

I would like to use Dialogflow interface to create a voice assisted chatbot. Still, I would like to be able to add my own components to it. How can this be done ? If I have a python script with an NLP technique I'd want to add to my chatbot. Dialogflow is mainly about NER and let's say I want to add TFIDF and text simplification to what's retrieved in my document. I looked at the documentation and couldn't find anything on the subject.

you can use a Webhook: each intent is 'forwarded' to your webhook (ie custom app or script) and you have full access to the text provided by the user as well as the DialogFlow contexts/entities. In your webhook you can can do what you want, including modifying the response to the user.

Hope it helps.

Beppe

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM