Reposted from the original at: https://blog.stephenturner.us/p/tidy-rag-in-r-with-ragnar Retrieval augmented generation in R using the ragnar package. Demonstration: scraping text from relevant links on a website and using RAG to ask about a university's grant funding.