Day 5: Elves’ Secret for Faster Development π¨
In the buzzing Tech Hub of the North Pole, Elf Tobi was at work, surrounded by glowing monitors and mugs of hot cocoa. Known for building quick and modular solutions, Elf Tobi thrived on AI challenges. Because he had a secret π€«
Elf Tobi was a Haystack fan and had recently started using deepset Studio to make the pipeline-building process even more fun and efficient. Its drag-and-drop interface made building and editing Haystack pipelines a breeze, turning a challenging task into a fun, interactive experience. He especially appreciated the deployment and testing features, as well as the handy pipeline templates that provided a great starting point. βDeploying and testing on the Playground? That was like adding a shiny star on top of the Christmas tree!β Elf Tobi thought about deepset Studio π
For this challenge, youβll join Elf Tobi to create a RAG pipeline in deepset Studio. Here are the steps to complete the challenge:
- Use sample files for “AI” in deepset studio to populate the Elvesβ AI Library
- Explore pipeline templates and use the “RAG Question Answering GPT-4o” template (or any other template) to save time π
- (Optional) Replace the models in the pipeline, use different providers or open source ones.
- Build, save, and deploy your indexing and query pipeline (Deployment might take a bit of time, so feel free to revisit earlier Advent of Haystack challenges while you wait βοΈ)
- Use the Playground to test your pipeline and submit the pipeline’s output for the query “What’s Compound AI?”
π― Helpful Links:
- Learn more about deepset Studio features in our announcement post
- If you have any questions, feel free to ask in the “#deepset-studio” channel on Discord
π‘ Some Hints:
- Follow the onboarding flow of deepset Studio to learn how to create, deploy, and test your pipeline on the platform.
- Watch the recording of Fast-Track Your LLM Apps with deepset & Haystack for a complete walkthrough from Elf Tobi.
- Learn how to add API keys, edit and deploy pipelines or generate a shareable pipeline link in the deepset studio documentation
βοΈ Bonus Task
- Extend your pipeline’s capabilities and build a RAG pipeline with a fallback to the web. This updated pipeline should query the Elvesβ AI Library first, and if no answer can be found, fetch it from the web.
- As the fallback, you can either just search for the results on the Web or use these Web results to generate the complete answer.
- Get your free API key from SearchAPI or Serper and add the key to your connections/secrets to use web search components in your pipeline.
- Get inspiration from Tutorial: Building Fallbacks to Websearch with Conditional Routing to understand how to design the pipeline with a fallback mechanism.
π GET STARTED: Sign up for deepset Studio (free and open to everyone) and get access within 24 hours