Vladimir Blagojevic 0983fb656a
feat: Add LinkContentFetcher Haystack 2.0 component (#5724)
* Add LinkContentFetcher

* Add release note

* Small fixes

* Fix pydocs

* PR feedback

* Remove handlers registration

* PR feedback

* adjustments

* improve tests

* initial draft

* tests

* add proposal

* proposal number

* reno

* fix tests and usage of content and content_type

* update branch & fix more tests

* mypy

* use the new document

* add docstring

* fix more tests

* mypy

* fix tests

* add e2e

* review feedback

* improve __str__

* Apply suggestions from code review

Co-authored-by: Daria Fokina <daria.fokina@deepset.ai>

* Update haystack/preview/dataclasses/document.py

Co-authored-by: Daria Fokina <daria.fokina@deepset.ai>

* improve __str__

* fix tests

* fix more tests

* fix test

* Fix end-of-file-fixer

* Post merge fixes

* Move e2e tests back into component

---------

Co-authored-by: ZanSara <sara.zanzottera@deepset.ai>
Co-authored-by: Daria Fokina <daria.fokina@deepset.ai>
2023-09-20 11:03:52 +02:00
..

Haystack 2.0 - Preview Features

PyPI - Version PyPI - Python Version

Since Haystack 1.15, weve been slowly introducing new components and features to Haystack in the background in preparation for Haystack 2.0. In this preview module, you can find whats been implemented so far regarding Haystack 2.0. Keep in mind that Haystack 2.0 is still a work in progress. Read more about Haystack 2.0 in Shaping Haystack 2.0.

💾 Installation

Install haystack-ai

There is a separate PyPI package that only ships the code in preview module. You can install haystack-ai using pip:

pip install haystack-ai

The haystack-ai package is built on the main branch, so it's highly unstable, but it's useful if you want to try the new features as soon as they are merged.

Install farm-haystack

As an alternative way, you can install farm-haystack:

pip install farm-haystack

The farm-haystack package includes all new features of Haystack 2.0. Note that updates to this package occur less frequently compared to haystack-ai. So, you might not get the all latest Haystack 2.0 features immediately when using farm-haystack.

💙 Stay Updated

To learn how and when components will be migrated to the new major version, have a look at the Migrate Components to Pipeline v2 roadmap item, where we keep track of issues and PRs about Haystack 2.0. When you have questions, you can always contact us using the Shaping Haystack 2.0 discussion or Haystack Discord server.