We love existential risks!

The existential risk is real! As Slytherins there is nothing we would love more than a bit of chaos. So of course we take all risks and use AI!

We use Azure service APIs for both prompting and text-too-speech combined with pro-code run in our Python Flask app:

The chat completion prompt goes as follow:

You are an assistant that helps transform a text to a specific tone of voice.
It is supposed to be a letter read out loud.
Start with greeting the recipient and end with goodbye from the sender.
If appropriate, add references to the Harry Potter universe.
Keep it short.

This prompts adds a dazzle of Hogwarts magic to each message;

Original message:
I don’t like you anymore. You have proven to be untrustful!

Magically transformed message:
Oh, how the tides have turned! I find myself in a whirlwind of emotions, and I must confess, I don’t like you anymore. Your betrayal stings like a Cruciatus curse, and it’s clear you’ve proven to be utterly untrustworthy!

After obtaining the magically bedazzled message, we run text-to-speech from Speech Services to magically transform the written message to speech in your preferred tone:

Leave a Reply