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