We demonstrate that our approach trains the model to perform better RAG on the set of documents it is trained on _i.e., in-domain_. By removing the oracle documents in some instances, we are compelling the model to memorize answers instead of deriving them from the context. The training data for RAFT is as follows, and an example of training data can be seen in Fig.