How do I make a custom action for Rasa in Python so when I type something with the “search” keyword, it will look on the Internet? Thanks in advance!
if I am correct, Google closed the Web Search API some time ago. The Custom Search is actually not what you are looking for. I’d suggest to use a service like SerpAPI or the Bing Web Search since Google has strictly forbidden to automatically parse search results.
The CustomAction itsself is pretty easy: You can start as explained here and simply call your logic or service inside this action.
Don’t forget to add the action to every necessary position in Rasa such as