---
title: "Comment by Yunus Emre Vurgun on \"I Built a RAG Application to Chat With Documents\" | Hashnode"
description: "Splitting it into an ingestion workflow and a question-answering workflow is a good way to explain it, since most bugs end up living in the first one. A practic"
url: "https://hashnode.com/posts/i-built-a-rag-application-to-chat-with-documents/6ad4488932882ddf38cc3219/comment/6ad4d6cdf3f7728906d87105"
---

[Discussion](https://hashnode.com/posts/i-built-a-rag-application-to-chat-with-documents/6ad4488932882ddf38cc3219)

Comment [I Built a RAG Application to Chat With Documents](https://hashnode.com/posts/i-built-a-rag-application-to-chat-with-documents/6ad4488932882ddf38cc3219)

[Yunus Emre Vurgun](https://hashnode.com/@yunusemrevurgun)

[Oct 18](https://hashnode.com/posts/i-built-a-rag-application-to-chat-with-documents/6ad4488932882ddf38cc3219/comment/6ad4d6cdf3f7728906d87105)

Splitting it into an ingestion workflow and a question-answering workflow is a good way to explain it, since most bugs end up living in the first one. A practical tip for the chunking step: store the source page number and section heading as metadata with each chunk, so the answer can cite where it came from and you can tell at a glance whether a bad answer came from retrieval or from the LLM. Which chunk size and overlap did you end up using for PDFs with tables?
