The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

ragnar: Retrieval-Augmented Generation (RAG) Workflows

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" <doi:10.48550/arXiv.2312.10997>.

Version: 0.1.0
Depends: R (≥ 4.3.0)
Imports: DBI, duckdb (≥ 1.2.2), glue, rlang (≥ 1.1.0), dplyr, httr2, rvest, stringi, tibble, vctrs, tidyr, xml2, methods, S7, reticulate (≥ 1.42.0), commonmark, blob, cli, curl, withr, dotty
Suggests: pandoc, ellmer, knitr, rmarkdown, stringr, dbplyr, testthat (≥ 3.0.0), paws.common, shiny
Published: 2025-05-30
DOI: 10.32614/CRAN.package.ragnar
Author: Tomasz Kalinowski [aut, cre], Daniel Falbel [aut], Posit Software, PBC ROR ID [cph, fnd]
Maintainer: Tomasz Kalinowski <tomasz at posit.co>
BugReports: https://github.com/tidyverse/ragnar/issues
License: MIT + file LICENSE
URL: http://ragnar.tidyverse.org/, https://github.com/tidyverse/ragnar
NeedsCompilation: yes
Materials: README NEWS
CRAN checks: ragnar results

Documentation:

Reference manual: ragnar.pdf
Vignettes: ragnar (source, R code)

Downloads:

Package source: ragnar_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: ragnar_0.1.0.zip, r-oldrel: ragnar_0.1.0.zip
macOS binaries: r-release (arm64): ragnar_0.1.0.tgz, r-oldrel (arm64): ragnar_0.1.0.tgz, r-release (x86_64): ragnar_0.1.0.tgz, r-oldrel (x86_64): ragnar_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=ragnar to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.