ellmer: Chat with Large Language Models

Chat with large language models from a range of providers including 'Claude' <https://claude.ai>, 'OpenAI' <https://chatgpt.com>, and more. Supports streaming, asynchronous calls, tool calling, and structured data extraction.

Version: 0.1.0
Imports: cli, coro (≥ 1.1.0), glue, httr2 (≥ 1.0.7), jsonlite, later (≥ 1.4.0), promises (≥ 1.3.1), R6, rlang (≥ 1.1.0), S7 (≥ 0.2.0)
Suggests: base64enc, bslib, curl (≥ 6.0.1), gitcreds, knitr, magick, openssl, paws.common, rmarkdown, shiny, shinychat (≥ 0.1.1), testthat (≥ 3.0.0), withr
Published: 2025-01-09
DOI: 10.32614/CRAN.package.ellmer
Author: Hadley Wickham [aut, cre], Joe Cheng [aut], Posit Software, PBC [cph, fnd]
Maintainer: Hadley Wickham <hadley at posit.co>
BugReports: https://github.com/tidyverse/ellmer/issues
License: MIT + file LICENSE
URL: https://ellmer.tidyverse.org, https://github.com/tidyverse/ellmer
NeedsCompilation: no
Materials: README NEWS
CRAN checks: ellmer results

Documentation:

Reference manual: ellmer.pdf
Vignettes: Getting started with ellmer (source, R code)
Prompt design (source, R code)
Streaming and async APIs (source, R code)
Structured data (source, R code)
Tool/function calling (source, R code)

Downloads:

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

Linking:

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