Package: ragnar Title: Retrieval-Augmented Generation (RAG) Workflows Version: 0.3.1.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 (>= 1.2.0), mirai (>= 2.6.0), dbplyr, dplyr, duckdb (>= 1.5.0), 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), nanoarrow (>= 0.8.0), pandoc, paws.common, rmarkdown, shiny, stringr, testthat (>= 3.0.0), tibble, jose, openssl, webfakes VignetteBuilder: knitr Config/Needs/website: tidyverse/tidytemplate, rmarkdown Config/testthat/edition: 3 Encoding: UTF-8 Roxygen: list(markdown = TRUE) Config/roxygen2/version: 8.1.0 Config/pak/sysreqs: libicu-dev libpng-dev libxml2-dev libssl-dev python3 xz-utils Repository: https://tidyverse.r-universe.dev Date/Publication: 2026-10-14 20:48:21 UTC RemoteUrl: https://github.com/tidyverse/ragnar RemoteRef: HEAD RemoteSha: 717b5bd8004bd7c6d1d61eafd845a4bafb7d14da NeedsCompilation: yes Packaged: 2026-10-14 22:40:46 UTC; root Author: Tomasz Kalinowski [aut, cre], Daniel Falbel [aut], Posit Software, PBC [cph, fnd] (ROR: ) Maintainer: Tomasz Kalinowski