If the correct policy is not in the top chunks, generation cannot be reliable.
RAG Architecture Whiteboard
The indexing flow prepares searchable knowledge before users ask questions. The runtime flow retrieves evidence for each query, builds a grounded prompt, and returns an answer with citations.
Production Architecture
Chunks near the query vector are semantically similar, even when wording is different.
Reranking chooses the evidence most likely to answer the actual question.
Yes, but the assignment will lose 20% because the policy states a 10% penalty per day for up to three days. If you need an exception, request faculty approval before the deadline.
Evaluation Loop
Debug retrieval first, then generation. If the right context is missing, the model cannot answer faithfully.
If the correct policy is not in the top chunks, generation cannot be reliable.
Claims should map back to retrieved chunks and citations.
Wrong page or source citations are a serious RAG failure.
Outdated embeddings can retrieve old rules after documents change.