While working on developing a feature in our beloved Canvas app featuring a slightly annoying for always being right, but very valuable helper in Hermione Granger, we decided that it was necessary to combine a couple of Microsoft Cloud APIs to get things going.
We have utilized the Azure OpenAI endpoint to deliver the user’s message to the “magificial” Hermione, and sending the response through to the Azure AI Text to Speech model. The speech model provides the voice returned to the canvas app.
As you can see, there has also been decided to store the audio files from the converstation in Azure Blob storage. Why?, you might ask. Well, paranoia given all the chaos every year. Anyway, they still promise to never listen to the files.