How do I create an agent that launches other intents?

Using the agent code API.AI

, I can create conversational agents for use with the Google Home wireless speakerphone. It basically asks a question, get an oral answer.

Is there a way to code a response that is not just a response but actually a direct action? For example: Purpose: Switch to radio station 2 Answer: Play 88.3 New York Radio and it should work as if I asked to play this radio station.

This could be what Google calls "Direct Actions". But I understand that it is not yet available. Is it correct that there is no way to do what I need above - essentially, one intent to start another Google Action intent - in this case, to have it play on radio stations? I was wondering if there is any web hockey / run hook code that can do this today.

+3


source to share


1 answer


Currently, you cannot proxy from one activity to another. Direct actions are yet to be released.



You will need to get your webhook to handle the parameter based implementation.

+1


source







All Articles