The sequential single interaction process involves finding the Top-K relevant documents \(z\) to input \(x\) through a retriever \(P_{\eta}(z|x)\), where \(\eta\) is a parameter of the retriever. Subsequently, the language model \(P_{\theta}(y_{i}|x,z,y_{r})\) receives input \(x\) along with relevant documents \(z\) and outputs the i-th token \(y_{i}\). Parameter \(\theta\) is used, along with relevant output tokens \(y_{r}\). The number of relevant output tokens is related to the location and type of language model.