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.2.0 |
Depends: |
R (≥ 4.3.0) |
Imports: |
blob, cli, commonmark, curl, DBI, dotty, dplyr, duckdb (≥
1.2.2), glue, httr2, methods, reticulate (≥ 1.42.0), rlang (≥
1.1.0), rvest, S7, stringi, tibble, tidyr, vctrs, withr, xml2 |
Suggests: |
dbplyr, ellmer (≥ 0.2.0), lifecycle, knitr, pandoc, paws.common, rmarkdown, shiny, stringr, testthat (≥ 3.0.0), connectcreds, gargle |
Published: |
2025-07-12 |
DOI: |
10.32614/CRAN.package.ragnar |
Author: |
Tomasz Kalinowski [aut, cre],
Daniel Falbel [aut],
Posit Software, PBC [cph,
fnd] |
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 |