RAGFlowChainR: Retrieval-Augmented Generation (RAG) Workflows in R with Local and Web Search

Enables Retrieval-Augmented Generation (RAG) workflows in R by combining local vector search using 'DuckDB' with optional web search via the 'Tavily' API. Supports OpenAI- and Ollama-compatible embedding models, full-text and HNSW (Hierarchical Navigable Small World) indexing, and modular large language model (LLM) invocation. Designed for advanced question-answering, chat-based applications, and production-ready AI pipelines. This package is the R equivalent of the 'python' package 'RAGFlowChain' available at <https://pypi.org/project/RAGFlowChain/>.

Version: 0.1.1
Depends: R (≥ 4.1.0)
Imports: DBI, duckdb (≥ 0.10.0), httr, dplyr, pdftools, officer, rvest, xml2, curl
Suggests: testthat (≥ 3.0.0), jsonlite, stringi, magrittr, roxygen2
Published: 2025-04-24
DOI: 10.32614/CRAN.package.RAGFlowChainR
Author: Kwadwo Daddy Nyame Owusu Boakye [aut, cre]
Maintainer: Kwadwo Daddy Nyame Owusu Boakye <kwadwo.owusuboakye at outlook.com>
BugReports: https://github.com/knowusuboaky/RAGFlowChainR/issues
License: MIT + file LICENSE
URL: https://github.com/knowusuboaky/RAGFlowChainR
NeedsCompilation: no
Materials: README NEWS
CRAN checks: RAGFlowChainR results

Documentation:

Reference manual: RAGFlowChainR.pdf

Downloads:

Package source: RAGFlowChainR_0.1.1.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): RAGFlowChainR_0.1.1.tgz, r-oldrel (arm64): RAGFlowChainR_0.1.1.tgz, r-release (x86_64): RAGFlowChainR_0.1.1.tgz, r-oldrel (x86_64): RAGFlowChainR_0.1.1.tgz
Old sources: RAGFlowChainR archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=RAGFlowChainR to link to this page.