How to Build a Mobile Voice Assistant with Open Source Rasa and Aimybox

How can I add a text box for an optional text input keeping the mic for voice input as well. Please help