Other packages > Find by keyword >

ragnar  

Retrieval-Augmented Generation (RAG) Workflows
View on CRAN: Click here


Download and install ragnar package within the R console
Install from CRAN:
install.packages("ragnar")

Install from Github:
library("remotes")
install_github("cran/ragnar")

Install by package version:
library("remotes")
install_version("ragnar", "0.2.1")



Attach the package and use:
library("ragnar")
Maintained by
Tomasz Kalinowski
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2025-06-18
Latest Update: 2025-08-25
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>.
How to cite:
Tomasz Kalinowski (2025). ragnar: Retrieval-Augmented Generation (RAG) Workflows. R package version 0.2.1, https://cran.r-project.org/web/packages/ragnar. Accessed 06 Aug. 2026.
Previous versions and publish date:
(2026-07-09 06:47), 0.1.0 (2025-05-30 11:30), 0.2.0 (2025-07-12 23:00), 0.2.1 (2025-08-19 23:40)
Other packages that cited ragnar R package
View ragnar citation profile
Other R packages that ragnar depends, imports, suggests or enhances
Complete documentation for ragnar
Functions, R codes and Examples using the ragnar R package
Full ragnar package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

SAMBA  
Selection and Misclassification Bias Adjustment for Logistic Regression Models
Health research using data from electronic health records (EHR) has gained popularity, but miscla ...
Download / Learn more Package Citations See dependency  
TMDb  
Access to TMDb API
Provides an R-interface to the TMDb API (see TMDb API on < ...
Download / Learn more Package Citations See dependency  
RRedshiftSQL  
R Interface to the 'Redshift' Database
Superclasses 'PostgreSQL' connection to help enable full 'dplyr' functionality on 'Redshift'. ...
Download / Learn more Package Citations See dependency  
lsmeans  
Least-Squares Means
Obtain least-squares means for linear, generalized linear, and mixed models. Compute contrasts or l ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  

28,083

R Packages

239,283

Dependencies

74,457

Author Associations

28,084

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA