News for hackers. Stuff that matters.
Re: by AbhiAmbad on Tuesday January 09, 2024 @11:55PM (#38936362)
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.