Hi Priya Sopan,
The Two modules you mentioned OpenAi and ChatGPT does not contain voice to text feature available.
But you can use another connector which will covert voice to text Link:https://marketplace.mendix.com/link/component/202535
If you want documentation for OpenAi you Can refer this Docs:
https://docs.mendix.com/appstore/modules/openai-connector/
Thankyou.