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.3.0 |
| Depends: | R (≥ 4.3.0) |
| Imports: | blob, cli, commonmark, curl, DBI, mirai (≥ 2.5.1), 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 |
| Published: | 2026-01-23 |
| DOI: | 10.32614/CRAN.package.ragnar |
| Author: | Tomasz Kalinowski [aut, cre],
Daniel Falbel [aut],
Posit Software, PBC |
| Maintainer: | Tomasz Kalinowski <tomasz at posit.co> |
| BugReports: | https://github.com/tidyverse/ragnar/issues |
| License: | MIT + file LICENSE |
| URL: | https://ragnar.tidyverse.org/, https://github.com/tidyverse/ragnar |
| NeedsCompilation: | yes |
| Materials: | README, NEWS |
| CRAN checks: | ragnar results |
| Reference manual: | ragnar.html , ragnar.pdf |
| Vignettes: |
ragnar (source, R code) |
| Package source: | ragnar_0.3.0.tar.gz |
| Windows binaries: | r-devel: ragnar_0.3.0.zip, r-release: ragnar_0.3.0.zip, r-oldrel: ragnar_0.3.0.zip |
| macOS binaries: | r-release (arm64): ragnar_0.3.0.tgz, r-oldrel (arm64): ragnar_0.3.0.tgz, r-release (x86_64): ragnar_0.3.0.tgz, r-oldrel (x86_64): ragnar_0.3.0.tgz |
| Old sources: | ragnar archive |
Please use the canonical form https://CRAN.R-project.org/package=ragnar to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.