Day 4: Sharing the Christmas Magic with Gen Z πΆ
At the North Pole, where magic and technology danced hand in hand, Santa was preparing for Christmas. In his workshop filled with glowing gadgets and humming machines, he summoned Elf Patrick, one of the most tech-savvy elves. βElf Patrick,β Santa said with a chuckle, βthis year, I want you to share the story of how I became Santa Claus. But here’s the twistβyou’ll use coding to help you create the perfect versions of the story for all kinds of kids.β
Elf Patrick’s eyes sparkled. βCoding? That’s my jam, Santa! I’ll make sure your story is ready for everyone, no matter how they like it told!β Santa handed Elf Patrick the audio file. βStart by transcribing it, then simplify it, and finally, remix it into that fun Gen Z lingo I keep hearing about.β βConsider it done!β Elf Patrick declared, racing to the North Pole Coding Hub.
For this challenge, you must help Elf Patrick transcribe Santa’s story, summarize it, and rewrite it for Gen Z kids.
Here are the components you might need for this challenge:
-
AssemblyAITranscriber
for speech-to-text tasks -
PromptBuilder
for creating the prompt -
OpenAIGenerator
for generating responses
π― Requirements:
- A free AssemblyAI API key
- An LLM. Here we’ll use an OpenAI API key, but you can choose any other LLM that is supported with Haystack Generators
π‘ Some Hints:
π Here is the Starter Colab