# How to Build a Retriever From Scratch for a Support System

DevFeed: [How to Build a Retriever From Scratch for a Support System](<https://devfeed.tech/articles/how-to-build-a-retriever-from-scratch-for-a-support-system-60586.md>)

Original publisher: [Read original article](<https://hackernoon.com/how-to-build-a-retriever-from-scratch-for-a-support-system?source=rss>)

Author: Pavel Yakovlev

Published: 2026-09-27T13:13:49Z

Content type: tutorial

Language: en

Sources: [HackerNoon](<https://devfeed.tech/sources/hackernoon.md>)

Topics: [Embeddings](<https://devfeed.tech/topics/embeddings.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>), [Support](<https://devfeed.tech/topics/support.md>)

Tags: [ai-agents-for-banking](<https://devfeed.tech/tags/ai-agents-for-banking.md>), [bm25](<https://devfeed.tech/tags/bm25.md>), [bm25-and-dense-retrieval](<https://devfeed.tech/tags/bm25-and-dense-retrieval.md>), [cross-encoder-reranking](<https://devfeed.tech/tags/cross-encoder-reranking.md>), [hybrid-rag-architecture](<https://devfeed.tech/tags/hybrid-rag-architecture.md>), [qdrant](<https://devfeed.tech/tags/qdrant.md>), [rag](<https://devfeed.tech/tags/rag.md>), [rag-architecture](<https://devfeed.tech/tags/rag-architecture.md>), [rag-customer-support-chatbot](<https://devfeed.tech/tags/rag-customer-support-chatbot.md>), [rag-system-in-banking](<https://devfeed.tech/tags/rag-system-in-banking.md>), [rrf-retrieval-fusion](<https://devfeed.tech/tags/rrf-retrieval-fusion.md>)

## AI overview

The tutorial develops a customer-support retrieval system by separating document search from LLM response generation. It starts with BM25 keyword search, explains its limitations in matching meaning, and introduces sentence embeddings and vector search. It also distinguishes shared reference documents from private customer data.

## Source excerpt

Build a customer-support retriever from scratch: BM25 + dense (E5) + RRF + a cross-encoder, plus an identity-scoped agent path, added step by step.