cd /news/artificial-intelligence/creating-your-first-qa-pipeline-with… · home topics artificial-intelligence article
[ARTICLE · art-37681] src=haystack.deepset.ai ↗ pub= topic=artificial-intelligence verified=true sentiment=↑ positive

Creating Your First QA Pipeline with Retrieval-Augmentation

Haystack released a tutorial on building a generative question-answering pipeline using retrieval-augmentation (RAG). The pipeline integrates SentenceTransformersTextEmbedder, InMemoryEmbeddingRetriever, ChatPromptBuilder, and a ChatGenerator to retrieve relevant documents and generate answers. This enables developers to create more accurate and context-aware QA systems.

read1 min views2 publishedJun 17, 2026

InMemoryDocumentStore

SentenceTransformersDocumentEmbedder

SentenceTransformersTextEmbedder

InMemoryEmbeddingRetriever

ChatPromptBuilder

ChatGenerator

OpenAIChatGenerator

MistralChatGenerator

TransformersChatGenerator

This tutorial shows you how to create a generative question-answering pipeline using the retrieval-augmentation ( RAG) approach with Haystack. The process involves four main components: SentenceTransformersTextEmbedder for creating an embedding for the user query, InMemoryEmbeddingRetriever for fetching relevant documents, ChatPromptBuilder for creating a template prompt, and a ChatGenerator for generating the final answer.

── more in #artificial-intelligence 4 stories · sorted by recency
── more on @haystack 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/creating-your-first-…] indexed:0 read:1min 2026-06-17 ·