15 tutorials & walkthroughs for all levels
Evaluation
A guided walkthrough to learn everything about evaluation
Creating Your First QA Pipeline with Retrieval-Augmentation
Build your first generative QA pipeline with OpenAI GPT models
Generating Structured Output with Loop-Based Auto-Correction
Learn how to extract structured data using an LLM, and to validate the generated output against a predefined schema.
Building Fallbacks to Websearch with Conditional Routing
Learn how to direct the query to a web-based RAG route when necessary
Building a Chat Agent with Function Calling
Learn how to build chat applications that have agent-like behavior with OpenAI function calling
Retrieving a Context Window Around a Sentence
Learn how to use the SentenceWindowRetriever to retrieve a context window
Filtering Documents with Metadata
Learn how to filter down to specific documents at retrieval time using metadata
Preprocessing Different File Types
Learn how to build an indexing pipeline that will preprocess files based on their file type
Embedding Metadata for Improved Retrieval
Learn how to embed metadata while indexing, to improve the quality of retrieval results
Serializing LLM Pipelines
Learn how to serialize and deserialize your pipelines between YAML and Python
Build an Extractive QA Pipeline
Learn how to build a Haystack pipeline that uses an extractive model to display where the answer to your query is.
Creating a Hybrid Retrieval Pipeline
Learn how to combine keyword-based retrieval and dense retrieval to enhance retrieval
Classifying Documents & Queries by Language
Learn how to classify documents and route queries by language, for both indexing and RAG pipelines
Evaluating RAG Pipelines
Learn how to evaluate your RAG pipelines using statistical and model-based evaluation metrics
Query Classification with TransformersTextRouter and TransformersZeroShotTextRouter
Learn how to route user questions and other text inputs with classification models