i am developing a google assistant application and need to extract the “from” and “to” information from user voice input.
i understand that the actions.intent.GET_LOCAL_BUSINESS intent will be deprecated at the end of February.
here is a brief overview of my requirements:
i need to capture user input specifying a starting location (“from”) and a destination (“to”).
the solution should work seamlessly with the updated Google Assistant intents and APIs.
Can someone guide me on the best approach to achieve this given the deprecation of actions.intent.GET_LOCAL_BUSINESS?
Example:
User says: “I need directions from Central Park to Times Square.“
Desired extraction:
- From: Central Park
- To: Times Square
Any advice or code examples would be greatly appreciated.