The Haystack Source Code
Haystack is an open source framework that helps developers build NLP empowered search systems. On our Github, you can find the source code for Haystack. This is also the main channel for raising issues and contributing to the project.
The most straightforward way to install the latest release of Haystack is through pip.
This command will install everything needed for Pipelines that use an Elasticsearch Document Store. See Installation for more details.
pip install farm-haystack
If you plan to be using more advanced features like Milvus, FAISS, Weaviate, OCR or Ray, you will need to install a full version of Haystack.
The following command will install the latest version on the main branch.
git clone https://github.com/deepset-ai/haystack.git cd haystack pip install -e .[all]
For a more comprehensive guide to installation, see our documentation.
Build Your First Pipeline
Haystack is built around the concept of Pipelines. A Pipeline is a sequence of connected components that can be used to perform a task. For example, you can chain together a Reader and a Retriever to build a Question Answering Pipeline.
For a hands-on guide to building your first Pipeline, see our tutorials