<?xml version="1.0" encoding="UTF-8"?>
<oai_dc:dc xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
  <dc:title>Retrieval-Augmented Generation and RAG Evaluation Tools</dc:title>
  <dc:title>R package ragR version 0.1.0</dc:title>
  <dc:description>Provides tools for document ingestion, embedding storage,
    retrieval-augmented generation (RAG), and evaluation of question-answering
    systems. The package includes an R-native vector store, wrappers for OpenAI
    embedding and chat-completion application programming interfaces (APIs),
    question-answering logging utilities, and large language model (LLM)-based
    evaluation metrics for context precision, context recall, answer relevance,
    and faithfulness. These metrics are based on the Retrieval-Augmented
    Generation Assessment (RAGAS) framework. The retrieval-augmented generation
    methodology is described by Lewis et al. (2020) "Retrieval-Augmented
    Generation for Knowledge-Intensive NLP Tasks"
    &lt;doi:10.48550/arXiv.2005.11401&gt;. The evaluation metrics are based on
    Es et al. (2024) "RAGAS: Automated Evaluation of Retrieval Augmented
    Generation" &lt;doi:10.18653/v1/2024.eacl-demo.16&gt;.</dc:description>
  <dc:type>Software</dc:type>
  <dc:relation>Depends: R (&gt;= 4.1.0)</dc:relation>
  <dc:relation>Imports: dplyr, httr2, jsonlite, pdftools, readtext, tibble</dc:relation>
  <dc:relation>Suggests: plumber, stringr, yaml, testthat (&gt;= 3.0.0)</dc:relation>
  <dc:creator>Muhammad Aimal Rehman &lt;rehman.aimal@gmail.com&gt;</dc:creator>
  <dc:publisher>Comprehensive R Archive Network (CRAN)</dc:publisher>
  <dc:contributor>Muhammad Aimal Rehman [aut, cre],
  Zhili Lu [aut],
  Chi-Kuang Yeh [aut]</dc:contributor>
  <dc:rights>GPL-3</dc:rights>
  <dc:date>2026-07-22</dc:date>
  <dc:format>application/tgz</dc:format>
  <dc:identifier>https://CRAN.R-project.org/package=ragR</dc:identifier>
  <dc:identifier>doi:10.32614/CRAN.package.ragR</dc:identifier>
  <dc:language>en-US</dc:language>
</oai_dc:dc>
