chatcache: Persistent Cache for 'ellmer' and 'shinychat' Large Language Model Interactions

Provides a persistent SQLite-based cache for user prompts and large language model (LLM) responses in applications built with the 'ellmer' and 'shinychat' packages. Reduces API (application programming interface) costs and latency by storing and retrieving identical or similar chat interactions across sessions and users.

Version: 0.1.0
Depends: R (≥ 4.1.0)
Imports: digest, jsonlite, DBI, RSQLite, cli, rlang (≥ 1.1.0)
Suggests: ellmer, shiny, shinychat, testthat (≥ 3.0.0), knitr, rmarkdown
Published: 2026-11-18
DOI: 10.32614/CRAN.package.chatcache (may not be active yet)
Author: Shekhar Chalwadi [aut, cre]
Maintainer: Shekhar Chalwadi <skrchalwadicg at gmail.com>
BugReports: https://github.com/shekharchalwadigrepo-hub/chatcache/issues
License: MIT + file LICENSE
URL: https://github.com/shekharchalwadigrepo-hub/chatcache
NeedsCompilation: no
Language: en-US
Citation: chatcache citation info
CRAN checks: chatcache results

Documentation:

Reference manual: chatcache.html , chatcache.pdf
Vignettes: Getting Started with chatcache (source, R code)

Downloads:

Package source: chatcache_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): chatcache_0.1.0.tgz, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

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