Assume you have a very large corpus of high-quality documents related to a given topic, and assume you have a pretrained large language model (the foundation model) with training data not containing these documents.
Scenario 1: You use the high-quality documents as additional pretraining data, possibly with a large weight.
Scenario 2: You create a vector database for the high-quality documents, i.e. you split them up in chunks and calculate text embeddings for them.
Now assume you ask the language model a question on the topic. In scenario 1 the question just gets answered (probably better than by the original foundation model), in scenario 2 the text embedding of the question prompt is calculated and the prompt then enhanced by the most similar text chunks in the vector database.
Does anyone have an intuition (and could explain it) which scenario would yield better results?