Day 8: Ultimate Inventory Agent to Control Holiday Chaos ๐ ๏ธ ๐
The North Pole workshop was buzzing with activity as elves rushed to assemble toys and wrap gifts. Amid the chaos, Elf Stefano, known for his love of language models and impeccable inventory management, found himself overwhelmed. ๐ฅ
His usual system of sticky notes and spreadsheets was falling apart. “I can’t keep track of what’s in stock, what’s gone, or if we’re out of googly eyes for teddy bears!” he groaned, staring at his cluttered desk.
Elf Stefano wasn’t just any inventory manager; he was the workshop’s language model enthusiast. He had trained models to craft personalized replies to children’s letters and help Santa write poetic thank-you notes. But this year, his passion for language models had taken a backseat to managing endless inventory demands.
To make matters worse, elves bombarded him with questions: “Elf Stefano, do we have enough paint for toy trains?”, “What’s the price of candy canes on Amazon?”, “We’re out of jingle bells again!” ๐ตโ๐ซ
Elf Stefano needed an innovative solution to handle the chaos. That’s when inspiration struck; he would build an ๐ก๐ค INVENTORY AGENT ๐ค๐ก using Haystack! The Agent would manage inventory, track items, and fetch prices while Elf Stefano returned to fine-tuning magical language models to spread holiday cheer ๐
For this challenge, join Elf Stefano and help complete the three missing tools for the ultimate inventory agent. For this challenge, you will use some of the
haystack-experimental components:
๐งช
OpenAIChatGenerator
๐งช
ToolInvoker
๐ฏ Requirements:
- An
OpenAI API Key if you’d like to use
OpenAIGenerator
but you can choose any other LLM that is supported with Haystack Generators
๐ก Some Hints
- To learn about Tools and Agent implementation, check out Cookbook: Define & Run Tools and Cookbook: Newsletter Sending Agent
- Learn more about haystack-experimental in Docs: Experimental Package
๐ Here’s the Starter Colab