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 Mar. 2026.
Previous versions and publish date:
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

EMVS  
The Expectation-Maximization Approach to Bayesian Variable Selection
An efficient expectation-maximization algorithm for fitting Bayesian spike-and-slab regularization p ...
Download / Learn more Package Citations See dependency  
DatabionicSwarm  
Swarm Intelligence for Self-Organized Clustering
Algorithms implementing populations of agents that interact with one another and sense their environ ...
Download / Learn more Package Citations See dependency  
lbfgs  
Limited-memory BFGS Optimization
A wrapper built around the libLBFGS optimization library by Naoaki Okazaki. The lbfgs package implem ...
Download / Learn more Package Citations See dependency  
solitude  
An Implementation of Isolation Forest
Isolation forest is anomaly detection method introduced by the paper Isolation based Anomaly Detecti ...
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  
openxlsx  
Read, Write and Edit xlsx Files
Simplifies the creation of Excel .xlsx files by providing a high level interface to writing, stylin ...
Download / Learn more Package Citations See dependency  

26,264

R Packages

223,360

Dependencies

70,244

Author Associations

26,265

Publication Badges

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