github deepset-ai/haystack v2.0.0-beta.7

latest releases: v2.5.1, v2.5.1-rc2, v2.5.1-rc1...
pre-release7 months ago

Release Notes

v2.0.0-beta.7

⬆️ Upgrade Notes

  • Pipeline.connect() arguments have renamed for clarity. This is a breaking change if connect was called with keyword arguments only. connect_from and connect_to arguments have been renamed respectively to sender and receiver. The behaviour of Pipeline.connect() is not changed.

🚀 New Features

  • Rename Pipeline.connect() arguments for clarity

⚡️ Enhancement Notes

  • add dimensions parameter to OpenAI Embedders to fully support new embedding models like text-embedding-3-small, text-embedding-3-large and upcoming ones
  • Change Pipeline.connect() to return the instance of Pipeline. This way we can chain multiple connect() like so:
pipeline.connect("fetcher", "converter").connect("converter", "splitter").connect("splitter", "ranker")\
.connect("ranker", "prompt_builder").connect("prompt_builder", "llm")
  • Code from different "hf_utils.py" modules spread across different packages was merged into haystack.utils.hf.

🐛 Bug Fixes

  • Resolves a bug where the HuggingFaceTGIGenerator and HuggingFaceTGIChatGenerator encountered issues if provided with valid models that were not available on the HuggingFace inference API rate-limited tier. The fix, detailed in GitHub issue #6816 and its GitHub PR, ensures these components now correctly handle model availability, eliminating previous limitations.
  • Fix PromptBuilder missing input default values. These missing default value was causing the PromptBuilder to never run if certain inputs are not received.

Don't miss a new haystack release

NewReleases is sending notifications on new releases.