and

also

large

often

However,

They
lack

language models

exhibit
fabricate
numerous
shortcomings.
facts[Zhang et al., 2023b]
knowledge when
dealing with specific domains or highly specialized
queries[Kandpal et al., 2023]. For instance, when the infor-
mation sought extends beyond the model’s training data or
requires the latest data, LLM may fail to provide accurate
answers. This limitation poses challenges when deploying
generative artificial
intelligence in real-world production
environments, as blindly using a black-box LLM may not
suffice.
Retrieval-AugmentedGenerationforLargeLanguageModels-ASurvey