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:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=chatcache
to link to this page.