Hacker News new | ask | show | jobs
by AbhiAmbad 896 days ago
RAG takes an input and retrieves a set of relevant/supporting documents given a source (e.g., Wikipedia). The documents are concatenated as context with the original input prompt and fed to the text generator which produces the final output.