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

envirem  
Generation of ENVIREM Variables
Generation of bioclimatic rasters that are complementary to the typical 19 bioclim variables. ...
Download / Learn more Package Citations See dependency  
crossurr  
Cross-Fitting for Doubly Robust Evaluation of High-Dimensional Surrogate Markers
Doubly robust methods for evaluating surrogate markers as outlined in: Agniel D, Hejblum BP, Thiebau ...
Download / Learn more Package Citations See dependency  
ibb  
R Wrapper for Istanbul Municipality Open Data Portal
Call wrappers for Istanbul Metropolitan Municipality's Open Data Portal (Turkish: Istanbul B ...
Download / Learn more Package Citations See dependency  
msm  
Multi-State Markov and Hidden Markov Models in Continuous Time
Functions for fitting continuous-time Markov and hidden Markov multi-state models to longitudinal d ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  

27,268

R Packages

233,548

Dependencies

72,590

Author Associations

27,205

Publication Badges

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