Voice commands

Just curious, not really sure how to approach it, but is there a way to implement voice commands in unreal engine? For instance, if the player had a mic and said " move forward" or “walk”, the character starts walking until they say “stop” or something like that.

ofcourse there is a way but i have no idea how to implement the same…
i went through some videos where people have used alexa and google assistance for giving the command…
i tried varies methods but nothing worked, let me know if you get any solution