Package: ragnar
Title: Retrieval-Augmented Generation (RAG) Workflows
Version: 0.3.0
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"
    <doi:10.48550/arXiv.2312.10997>.
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.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
VignetteBuilder: knitr
Config/Needs/website: tidyverse/tidytemplate, rmarkdown
Config/testthat/edition: 3
Encoding: UTF-8
RoxygenNote: 7.3.3
NeedsCompilation: yes
Packaged: 2026-01-23 17:32:04 UTC; tomasz
Author: Tomasz Kalinowski [aut, cre],
  Daniel Falbel [aut],
  Posit Software, PBC [cph, fnd] (ROR: <https://ror.org/03wc8by49>)
Maintainer: Tomasz Kalinowski <tomasz@posit.co>
Repository: CRAN
Date/Publication: 2026-01-23 19:40:08 UTC
Built: R 4.4.3; x86_64-w64-mingw32; 2026-03-02 19:03:00 UTC; windows
Archs: x64
