inferencer: Simple Unified Wrappers for Hosted Foundation Model Inference
APIs
Provides lightweight R wrappers for querying and listing models
from several hosted foundation model inference platforms, currently
including 'OpenAI' <https://developers.openai.com/api/docs/>,
'Google Gemini' <https://ai.google.dev/gemini-api/docs>,
'Groq' <https://console.groq.com/docs/>,
'OpenRouter' <https://openrouter.ai/docs/>,
'Cerebras' <https://inference-docs.cerebras.ai/>, and
'Ollama Cloud' <https://docs.ollama.com/cloud>.
The package is designed for simple inference workflows and quick
experimentation, with minimal abstraction and a consistent interface
across providers. It includes helper functions for model discovery, text
generation, embeddings, image generation, and multimodal inputs, while
leaving room for future support of provider-specific parameters and
advanced options.
Documentation:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=inferencer
to link to this page.