Goal
The goal of gemini.R
is to make it easy to use Google’s Gemini API in R.
Quick Start
To use the Gemini API, you need to create and save an API key from Google AI Studio. The Gemini API offers both free and paid plans.
It is recommended to use the setAPI
function to securely save and use your Gemini API key in your environment.
Features
Most functions provided by gemini.R
are based on the Gemini API documentation.
gemini.R
primarily implements features from the Gemini API, with some additional support for Vertex AI features.
If a feature is not yet implemented or mentioned, it is not currently planned for gemini.R
. Not all features of the Gemini API will be included, but the most important ones will be prioritized.
Basic
- Text generation
- Image generation
- Image description
Advanced
- Audio description
- Document understand (PDF)
- Multi-turn conversation (Chat)
- Vertex token management
- Google search
- Model garden
- Generate narrative (Table)
- Gemma