Package: inferencer 0.2.2
inferencer: Simple Unified Wrappers for Foundation Model Inference APIs
Provides lightweight R wrappers for querying and listing models from several hosted and local 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/>, 'Ollama Cloud' <https://docs.ollama.com/cloud>, 'Alibaba Cloud Model Studio' <https://help.aliyun.com/en/model-studio/>, 'Zhipu AI' <https://docs.bigmodel.cn/>, 'DeepSeek' <https://api-docs.deepseek.com/>, 'Moonshot AI' <https://platform.kimi.ai/docs/>, and 'MiniMax' <https://platform.minimax.io/docs/>. 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.
Authors:
inferencer_0.2.2.tar.gz
inferencer_0.2.2.zip(r-4.7-any)inferencer_0.2.2.zip(r-4.6-any)inferencer_0.2.2.zip(r-4.5-any)
inferencer_0.2.2.tgz(r-4.6-any)inferencer_0.2.2.tgz(r-4.5-any)
inferencer_0.2.2.tar.gz(r-4.7-any)inferencer_0.2.2.tar.gz(r-4.6-any)
inferencer_0.2.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
inferencer/json (API)
| # Install 'inferencer' in R: |
| install.packages('inferencer', repos = c('https://oliverlds.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/oliverlds/inferencer/issues
Last updated from:c136207431. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 170 | ||
| source / vignettes | OK | 205 | ||
| linux-release | OK | 151 | ||
| macos-release | OK | 91 | ||
| macos-oldrel | OK | 101 | ||
| windows-devel | OK | 71 | ||
| windows-release | OK | 67 | ||
| windows-oldrel | OK | 70 | ||
| wasm-release | OK | 131 |
Exports:embed_geminiembed_openrouterextract_openrouter_benchmarksgenerate_image_geminigenerate_image_openrouterlist_cerebras_modelslist_china_free_modelslist_deepseek_modelslist_gemini_modelslist_groq_modelslist_minimax_modelslist_moonshot_modelslist_ollama_modelslist_openai_compatible_modelslist_openai_modelslist_openrouter_audio_modelslist_openrouter_benchmarkslist_openrouter_embedding_modelslist_openrouter_image_modelslist_openrouter_modelslist_openrouter_multimodal_modelslist_openrouter_video_modelslist_qwen_modelslist_zhipu_modelsquery_cerebrasquery_china_fallbackquery_china_free_fallbackquery_deepseekquery_fallbackquery_geminiquery_gemini_contentquery_groqquery_minimaxquery_moonshotquery_ollamaquery_openaiquery_openai_compatiblequery_openrouterquery_openrouter_contentquery_qwenquery_zhipuwrite_gemini_audio
Dependencies:askpassclicurldata.tablegluehttr2jsonlitelifecyclemagrittropensslR6rlangsysvctrswithr