Click send button: uploads audio to Azure storage, sets AudioId, sets Text, saves and adds message to conversation
If message is modified before sending: uploads audio to Azure storage, sets AudioId, sets ModifiedText, synthesizes new speech for ModifiedText, uploads ModifiedAudio to Azure storage, sets ModifiedAudioId, saves and adds message to conversation
Upload / edit modals are closed and conversation is refreshed
If cancel button is clicked at any point before the message is sent, the message is deleted (Api/DeleteMessage) and the files are not uploaded to Azure
https://github.com/sparc-coop/ibis/tree/feature/speech-to-text
UPLOAD User Flow: