Tutorials

Whether you’re a beginner or an experienced user, these tutorials will walk you through Haystack features and functionalities making it easy for you to understand and implement them.

24 tutorials for all levels

intermediate
10 min

Building a Conversational Chat App

Use ConversationalAgent to build a human-like chat application

beginner
15 min

Build Your First Question Answering System

Get Started by creating a Retriever Reader pipeline.

beginner
20 min

Build a Scalable Question Answering System

Create a scalable Retriever Reader pipeline that uses an ElasticsearchDocumentStore.

beginner

Utilizing Existing FAQs for Question Answering

Create a smarter way to answer new questions using your existing FAQ documents.

beginner

Preprocessing Your Documents

Start converting, cleaning, and splitting Documents using Haystack’s preprocessing capabilities.

intermediate

Fine-Tuning a Model on Your Own Data

Improve the performance of your Reader by performing fine-tuning.

intermediate

Better Retrieval with Embedding Retrieval

Use Transformer based dense Retrievers to improve your system’s performance.

intermediate
20 min

Customizing PromptNode for NLP Tasks

Use PromptNode and PromptTemplate for your custom NLP tasks

intermediate

Generative QA with Retrieval-Augmented Generation

Try out a generative model in place of the extractive Reader.

intermediate
15 min

Creating a Generative QA Pipeline with PromptNode

Use a large language model in your search system through PromptNode and Shaper.

intermediate
10 min

Answering Multihop Questions with Agents

Use Agent to answer multihop questions with extractive models

intermediate

How to Use Pipelines

Learn about the many ways which you can route queries through the nodes in a pipeline.

intermediate

Generative QA with LFQA

Try out a generative model in place of the extractive Reader.

intermediate

Question Generation

Generate a set of questions that can be answered by a given Document.

intermediate

Query Classifier

Classify incoming queries so that they can be routed to the nodes that are best at handling them.

intermediate

Document Classification at Index Time

Generate and attach classification labels to your Documents when indexing.

intermediate

Make Your QA Pipelines Talk!

Convert text Answers into speech.

intermediate
20 min

Text-To-Image Search Pipeline with Multimodal Retriever

Use a MultiModalRetriever to build a cross-modal search pipeline.

advanced

Evaluation of a QA System

Learn how to evaluate the performance of individual nodes as well as entire pipelines.

advanced

Training Your Own Dense Passage Retrieval Model

Learn about training a Dense Passage Retrieval model and the data needed to do so.

advanced
30 min

Using Haystack with REST API

Create a production-ready pipeline and interact with Haystack REST API.

advanced

Question Answering on a Knowledge Graph

Experiment with a question answering system that draws upon knowledge graph.h

advanced

Open-Domain QA on Tables

Perform question answering on tabular data.

advanced

Generative Pseudo Labeling for Domain Adaptation

Use a Retriever and a query generator to perform unsupervised domain adaptation.

Looking for a tutorial?

Type a keyword then click the "Search" button and we'll search through all tutorials.

No results found

You may want to try different keywords or check for any possible typos.

There has been an error.

Please try again later.

Searching..