Topic
Haystack RAG Pipelines
14 posts on haystack rag pipelines — part of framework tutorials on the n4n AI blog.
Using Llama 3.1 70B in a Haystack RAG pipeline via n4n.ai
Build a production-ready RAG pipeline with Haystack and Llama 3.1 70B using n4n.ai's OpenAI-compatible endpoint. Includes indexing, retrieval, and generation code with expected outputs.
Streaming responses in Haystack RAG pipelines with n4n.ai
Build a Haystack RAG pipeline that streams tokens from n4n.ai with runnable code, error handling, and verification steps.
Haystack RAG pipeline tutorial: query routing
Build a Haystack RAG pipeline that classifies queries and routes them to specialized retrievers for better accuracy and lower latency.
Haystack RAG pipeline tutorial: enterprise document search
Build a production-ready Haystack RAG pipeline for enterprise document search with hybrid retrieval, reranking, and observability.
Chunking strategies for Haystack RAG pipelines
Practical guide to chunking strategies for Haystack RAG pipelines with code examples, tradeoffs, and evaluation methods.
Haystack RAG with Claude 3.5 Sonnet through n4n.ai
Build a production-ready Haystack RAG pipeline using Claude 3.5 Sonnet via n4n.ai with document indexing, retrieval, and generation steps.
Haystack RAG pipeline tutorial with hybrid retrieval
Build a production-ready Haystack RAG pipeline with hybrid retrieval combining BM25 and dense embeddings for better search relevance.
Haystack RAG pipeline tutorial: from PDF to answer
Build a production-ready Haystack RAG pipeline that extracts text from PDFs, indexes it, and answers questions with citations — complete with runnable code and expected outputs.
Haystack PromptBuilder tutorial for RAG pipelines
Build a production-ready RAG pipeline with Haystack's PromptBuilder — from basic templates to advanced conditional logic, with runnable code at every step.
Swapping OpenAI for n4n.ai in a Haystack RAG pipeline
A practical how-to for engineers to swap OpenAI for n4n.ai in a Haystack RAG pipeline using OpenAI-compatible endpoints, with runnable code and verification steps.
How to connect Haystack to n4n.ai's OpenAI-compatible API
A practical guide to connect Haystack to n4n.ai's OpenAI-compatible API, configure generators, and ship a RAG pipeline with built-in fallback.
Building a multi-hop RAG pipeline in Haystack 2.0
Step-by-step guide to building a multi-hop RAG pipeline in Haystack 2.0 that retrieves, rewrites queries, and synthesizes answers across two passes.
Building a citation-aware RAG pipeline in Haystack
Step-by-step guide to building a citation-aware RAG pipeline in Haystack that returns sourced answers with document references and confidence.
Build a RAG pipeline with Haystack 2.0 and n4n.ai
Hands-on tutorial to build rag pipeline haystack 2.0 n4n.ai using Haystack 2.0 and an OpenAI-compatible endpoint, with runnable code and expected output.
More topics in framework tutorials
- Building Chatbots with Vercel AI SDK & Next.js15
- LangChain RAG with Vector Databases15
- LangGraph Multi-Agent Workflows15
- LlamaIndex Query Engines for RAG15
- AutoGen Multi-Agent Conversations & Group Chat14
- Choosing an AI Framework by Use Case14
- CrewAI Agent Roles & Task Design14
- CrewAI Real-World Crew Examples14
- LangChain Agents & Tool Calling14
- LangChain Multi-Model Fallback & Routing14
- LangChain.js for Node & TypeScript14
- One Backend, Every Model: Swapping GPT-5, Claude, Gemini & Llama Across Frameworks14