Package: ragnar Title: Retrieval-Augmented Generation (RAG) Workflows Version: 0.3.0.9000 Authors@R: c( person("Tomasz", "Kalinowski", , "tomasz@posit.co", role = c("aut", "cre")), person("Daniel", "Falbel", , "daniel@posit.co", role = "aut"), person("Posit Software, PBC", role = c("cph", "fnd"), comment = c(ROR = "03wc8by49")) ) Description: Provides tools for implementing Retrieval-Augmented Generation (RAG) workflows with Large Language Models (LLM). Includes functions for document processing, text chunking, embedding generation, storage management, and content retrieval. Supports various document types and embedding providers ('Ollama', 'OpenAI'), with 'DuckDB' as the default storage backend. Integrates with the 'ellmer' package to equip chat objects with retrieval capabilities. Designed to offer both sensible defaults and customization options with transparent access to intermediate outputs. For a review of retrieval-augmented generation methods, see Gao et al. (2023) "Retrieval-Augmented Generation for Large Language Models: A Survey" . License: MIT + file LICENSE URL: https://ragnar.tidyverse.org/, https://github.com/tidyverse/ragnar BugReports: https://github.com/tidyverse/ragnar/issues Depends: R (>= 4.3.0) Imports: blob, cli, commonmark, curl, DBI, mirai (>= 2.6.0), dbplyr, dplyr, duckdb (>= 1.3.1), glue, httr2, jsonlite, methods, reticulate (>= 1.42.0), rlang (>= 1.1.0), rvest, S7, stringi, tidyr, vctrs, withr, xml2 Suggests: connectcreds, ellmer (>= 0.3.0), gargle, knitr, lifecycle, mcptools (>= 0.2.0), pandoc, paws.common, rmarkdown, shiny, stringr, testthat (>= 3.0.0), tibble, jose, openssl VignetteBuilder: knitr Config/Needs/website: tidyverse/tidytemplate, rmarkdown Config/testthat/edition: 3 Encoding: UTF-8 Roxygen: list(markdown = TRUE) RoxygenNote: 7.3.3 Config/pak/sysreqs: cmake libicu-dev libpng-dev libxml2-dev libssl-dev python3 xz-utils Repository: https://tidyverse.r-universe.dev Date/Publication: 2026-04-09 17:53:13 UTC RemoteUrl: https://github.com/tidyverse/ragnar RemoteRef: HEAD RemoteSha: 64acffa1ec78c32d8ceff54b5d340bf55d7a968c NeedsCompilation: yes Packaged: 2026-06-17 23:01:22 UTC; root Author: Tomasz Kalinowski [aut, cre], Daniel Falbel [aut], Posit Software, PBC [cph, fnd] (ROR: ) Maintainer: Tomasz Kalinowski