This video gives an overview of how to improve voice typing (or speech to text) on your Android phone using the Google Gboard. By simply enabling voice typing offline mode, this significantly improves the accuracy of the speech to text.
*Please note this offline feature may not be available on all Android devices. I can confirm that it is available on Android 13 OS*