Advent of Haystack

Try out Haystack 2.0-Beta to discover what’s coming in the next major release

with 10 challenges in the month of December 🎉

From January 5th to 19th, you will also find the solutions of each challenge.

Welcome to the first challenge of our Advent of Haystack series (inspired by the Advent of Code)!

We have some news! The Haystack elves have been working hard in their workshops to develop Haystack 2.0 for the last few months. And this Christmas season, they’re gifting you with a preview version: Haystack 2.0-Beta. They’ve been trying to prepare some preview examples for you, but elves are forgetful beings and easily distracted. This challenge series will include some “gifts” the elves prepared for you, but we need you to take it over the finish line.

Hopefully, by the end of each challenge, you’ll also have learned something new about the upcoming Haystack 2.0!

The Haystack elves wanted to gift you a retrieval-augmented generative pipeline that can answer questions based on the contents of a given URL. Our favorite animal is a capybara!!

🩵 Here is the Starter Colab

For this, they used:

They started the code and the pipeline, but there’s still one last step to make it a working pipeline: connecting the components!

Here, we have a plan of a retrieval-augmented pipeline that the elves wanted to gift you. Your task is to complete the pipeline so that it achieves what the elves pipeline drawing. Once complete, you will be able to run the pipeline for answers about the contents of any given URL.

Hint: Check out the Haystack 2.0 Pipelines documentation to learn more about pipeline connections

Try to connect the components in a way that achieves their original plan 👇

image