Package: ellmer 0.1.0

Hadley Wickham

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.

Authors:Hadley Wickham [aut, cre], Joe Cheng [aut], Posit Software, PBC [cph, fnd]

ellmer_0.1.0.tar.gz
ellmer_0.1.0.tar.gz(r-4.5-noble)ellmer_0.1.0.tar.gz(r-4.4-noble)
ellmer_0.1.0.tgz(r-4.4-emscripten)ellmer_0.1.0.tgz(r-4.3-emscripten)
ellmer.pdf |ellmer.html
ellmer/json (API)
NEWS

# Install 'ellmer' in R:
install.packages('ellmer', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/tidyverse/ellmer/issues

Pkgdown site:https://ellmer.tidyverse.org

3.95 score 1 packages 12 scripts 46 exports 21 dependencies

Last updated 20 days agofrom:8c99bb738d. Checks:2 OK. Indexed: no.

TargetResultLatest binary
Doc / VignettesOKJan 09 2025
R-4.5-linuxOKJan 09 2025

Exports:chat_azurechat_bedrockchat_claudechat_cortexchat_databrickschat_geminichat_githubchat_groqchat_ollamachat_openaichat_perplexitychat_vllmContentcontent_image_filecontent_image_plotcontent_image_urlContentImageContentImageInlineContentImageRemotecontents_htmlcontents_markdowncontents_textContentTextContentToolRequestContentToolResultcreate_tool_defhas_credentialsinterpolateinterpolate_filelive_browserlive_consoleProvidertoken_usagetoolTurntype_arraytype_booleantype_enumtype_integertype_numbertype_objecttype_stringTypeArrayTypeBasicTypeEnumTypeObject

Dependencies:askpassclicorocurlfastmapgluehttr2jsonlitelaterlifecyclemagrittropensslpromisesR6rappdirsRcpprlangS7sysvctrswithr

Getting started with ellmer

Rendered fromellmer.Rmdusingknitr::rmarkdownon Jan 09 2025.

Last update: 2025-01-09
Started: 2025-01-09

Prompt design

Rendered fromprompt-design.Rmdusingknitr::rmarkdownon Jan 09 2025.

Last update: 2025-01-09
Started: 2025-01-09

Streaming and async APIs

Rendered fromstreaming-async.Rmdusingknitr::rmarkdownon Jan 09 2025.

Last update: 2025-01-09
Started: 2025-01-09

Structured data

Rendered fromstructured-data.Rmdusingknitr::rmarkdownon Jan 09 2025.

Last update: 2025-01-09
Started: 2025-01-09

Tool/function calling

Rendered fromtool-calling.Rmdusingknitr::rmarkdownon Jan 09 2025.

Last update: 2025-01-09
Started: 2025-01-09