Package: ragnar 0.3.0.9000

Tomasz Kalinowski

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>.

Authors:Tomasz Kalinowski [aut, cre], Daniel Falbel [aut], Posit Software, PBC [cph, fnd]

ragnar_0.3.0.9000.tar.gz
ragnar_0.3.0.9000.zip(r-4.7)ragnar_0.3.0.9000.zip(r-4.6)ragnar_0.3.0.9000.zip(r-4.5)
ragnar_0.3.0.9000.tgz(r-4.6-x86_64)ragnar_0.3.0.9000.tgz(r-4.6-arm64)ragnar_0.3.0.9000.tgz(r-4.5-x86_64)ragnar_0.3.0.9000.tgz(r-4.5-arm64)
ragnar_0.3.0.9000.tar.gz(r-4.7-arm64)ragnar_0.3.0.9000.tar.gz(r-4.7-x86_64)ragnar_0.3.0.9000.tar.gz(r-4.6-arm64)ragnar_0.3.0.9000.tar.gz(r-4.6-x86_64)
ragnar_0.3.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
ragnar/json (API)
NEWS

# Install 'ragnar' in R:
install.packages('ragnar', repos = c('https://tidyverse.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/tidyverse/ragnar/issues

Pkgdown/docs site:https://ragnar.tidyverse.org

On CRAN:

Conda:

10.54 score 180 stars 2 packages 168 scripts 1.3k downloads 36 exports 48 dependencies

Last updated from:64acffa1ec. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK231
linux-devel-x86_64OK191
source / vignettesOK229
linux-release-arm64OK223
linux-release-x86_64OK234
macos-release-arm64OK140
macos-release-x86_64OK388
macos-oldrel-arm64OK167
macos-oldrel-x86_64OK492
windows-develOK266
windows-releaseOK342
windows-oldrelOK267
wasm-releaseOK149

Exports:chunks_deoverlapembed_azure_openaiembed_bedrockembed_databricksembed_google_geminiembed_google_vertexembed_lm_studioembed_ollamaembed_openaiembed_snowflakemarkdown_chunkmarkdown_framemarkdown_segmentMarkdownDocumentMarkdownDocumentChunksmcp_serve_storeragnar_chunkragnar_chunk_segmentsragnar_chunks_viewragnar_find_linksragnar_readragnar_read_documentragnar_register_tool_retrieveragnar_retrieveragnar_retrieve_bm25ragnar_retrieve_vssragnar_segmentragnar_store_atlasragnar_store_build_indexragnar_store_connectragnar_store_createragnar_store_ingestragnar_store_insertragnar_store_inspectragnar_store_updateread_as_markdown

Dependencies:askpassblobclicommonmarkcpp11curlDBIdbplyrdplyrduckdbgenericsglueherehttrhttr2jsonlitelatticelifecyclemagrittrMatrixmimemirainanonextopensslpillarpkgconfigpngpurrrR6rappdirsRcppRcppTOMLreticulaterlangrprojrootrvestS7selectrstringistringrsystibbletidyrtidyselectutf8vctrswithrxml2

ragnar

Rendered fromragnar.Rmdusingknitr::rmarkdownon Jun 17 2026.

Last update: 2026-01-27
Started: 2025-05-22