LLMR: Interface for Large Language Model APIs in R

A unified interface to interact with various Large Language Model (LLM) APIs such as 'OpenAI' (see <https://platform.openai.com/docs/overview> for details), 'Anthropic' (see <https://docs.anthropic.com/en/api/getting-started> for details), 'Groq' (see <https://console.groq.com/docs/api-reference> for details), 'Together AI' (see <https://docs.together.ai/docs/quickstart> for details), 'DeepSeek' (see <https://api-docs.deepseek.com> for details), 'Gemini' (see <https://aistudio.google.com> for details), and 'Voyage AI' (see <https://docs.voyageai.com/docs/introduction> for details). Allows users to use and switch between various APIs seamlessly within R, and define LLM agents.

Getting started

Package details

AuthorAli Sanaei [aut, cre]
MaintainerAli Sanaei <sanaei@uchicago.edu>
LicenseMIT + file LICENSE
Version0.2.5
URL https://github.com/asanaei/LLMR
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("LLMR")

Try the LLMR package in your browser

Any scripts or data that you put into this service are public.

LLMR documentation built on April 4, 2025, 1:11 a.m.