---
title: "Comment by Ahmet Özel on \"RAG Explained: How Chunking and Embeddings Decide Answer Quality\" | Hashnode"
description: "Recording the embedding model and dimension in the Chroma collection is a useful safeguard, particularly because both your lexical hash adapter and MiniLM produ"
url: "https://hashnode.com/posts/rag-chunking-embeddings-explained/6afb2f3383f238307fab4313/comment/6afb718191b1c666ea4e1cda"
---

[Discussion](https://hashnode.com/posts/rag-chunking-embeddings-explained/6afb2f3383f238307fab4313)

Comment [RAG Explained: How Chunking and Embeddings Decide Answer Quality](https://hashnode.com/posts/rag-chunking-embeddings-explained/6afb2f3383f238307fab4313)

[Ahmet Özel](https://hashnode.com/@ahmetozel)

[Nov 16](https://hashnode.com/posts/rag-chunking-embeddings-explained/6afb2f3383f238307fab4313/comment/6afb718191b1c666ea4e1cda)

Recording the embedding model and dimension in the Chroma collection is a useful safeguard, particularly because both your lexical hash adapter and MiniLM produce 384-dimensional vectors. I would include the provider identity and preprocessing revision in that check so matching dimensions cannot allow those two representations to mix.

For the first retrieval fixture, one synonym-only question would distinguish the semantic provider from the lexical test adapter immediately. Keeping that case outside the lightweight unit tests would make it clear which tests establish application plumbing and which actually exercise semantic retrieval.
