Skip to content

v2.0.0-beta.7

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 07 Feb 15:44
· 314 commits to main since this release
a771d7f

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.