Better chunks
Meaningful boundaries should improve retrieval relevance.
Building a retrieval-augmented assistant over private documents while testing how chunking, embeddings, retrieval quality, prompting, grounding, and evaluation affect the usefulness of the final answer.
The system can return an answer very quickly. That does not mean the answer is relevant, grounded, complete, or trustworthy.
The experiment is designed to move past the architecture diagram and test the individual decisions that influence retrieval and generation quality.
My current assumption is that many apparent LLM failures are actually retrieval failures upstream.
Meaningful boundaries should improve retrieval relevance.
Relevant context should improve answer grounding.
Clear instructions should reduce unsupported answers.
Defined criteria should make improvements measurable.
RAG separates document preparation from question-time retrieval. Understanding both paths is essential.
Too small may lose context. Too large may reduce retrieval precision.
Overlap may preserve continuity but increases duplication.
Different embedding approaches may affect semantic retrieval.
More context is not automatically better context.
Instructions influence how strictly the model uses context.
Structured, narrative, and mixed documents may require different handling.
A convincing answer can still be wrong. Evaluation needs criteria beyond how fluent the response sounds.
Did the system retrieve passages that actually address the question?
Can the answer be supported by the retrieved material?
Did the answer cover the important parts of the question?
Did the model introduce information that was not present in context?
Do similar questions retrieve consistently useful evidence?
Does the assistant recognize when the documents do not contain an answer?
If the relevant information never reaches the prompt, generation cannot recover it reliably.
Increasing context size can introduce irrelevant material and make grounding harder rather than easier.
Splitting content is not merely preprocessing. It changes the units the system can reason over.
The purpose of this experiment is not to produce one perfect RAG demo. It is to understand which design choices actually improve retrieval and answer quality.