Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Haystack 2.0: The story of a rewrite

Haystack 2.0: The story of a rewrite

To rewrite or not to rewrite: it's a major question.

Releasing new software versions with breaking changes can be disruptive to a community, but sometimes they are necessary in the long run to move forward.

Haystack is a free open source Python LLM framework. It was launched in 2020, before LLMs were cool. In 2023 we decided to undergo a major re-architecture, culminating in the GA release of Haystack 2.0. It wasn't an easy decision. By involving the open source community and some big companies in our design process early on, we are confident we built a more usable, flexible foundation for years to come.

In this talk I'll tell you the story of this rewrite. The decisions we made to bring the project forward with the right level of flexibility / composability in the rapidly changing LLM landscape. I won't only show you the new features 2.0 provides, but give you a peek into our future roadmap. You'll walk away with a better understanding of how modern LLM frameworks can help you solve problems for yourself and your users, as well as an enriched understanding of how to think for the long-term when building for an open source community.

You’ll see how the strength of Haystack modularity and ease of use makes it stand out from other libraries. Demos will make it much clear and give you some great ideas on how to integrate Haystack in your projects.

Silvano Cerza

April 23, 2024
Tweet

Other Decks in Programming

Transcript

  1. Agenda 1. A brief intro of Haystack 2. Why a

    rewrite? 3. What to do 4. Haystack in detail 5. Q/A
  2. To rewrite or not to rewrite Tackle technical debt Business

    business Split the team on different projects Paradigm change
  3. # TODO 1. Focus on the pain points 2. Listen

    your community 3. Consider new use cases 4. Set a deadline 5. Decide the future of your past 6. Remember it’s not just code