- Relaxed the
model
parameter validation to support newly released models likegemini-2.5-flash-preview-04-17
- Enhanced error handling across all functions for improved stability
- Standardized response processing across all API functions
- Updated documentation to reflect expanded model compatibility
- Added Gemini searching
gemini_search
for ground using gemini-2.0 models - Added Gemini searching
gemini_searchR
for retrive using gemini-1.5 models
- Added Gemini 2.5-pro-exp model (
2.5-pro-exp-03-25
) - Deprecated Gemini 2.0-pro-exp model (
2.0-pro-exp-02-05
) - Now image generation possible with
gen_image()
using2.0-flash-exp-image-generation
model.
countTokens
function for countTokens APIsetEnv
function added.- Deprecated Gemini 1.5 models (
1.5-pro
,1.5-flash
) - Add CRANlogs badge in readme
- Modified
.Rbuildignore
to ignore README.md
- Add roxygen documents for
region
- Updated parameters across all functions (
temperature
,maxOutputTokens
,topK
,topP
,seed
) - Adjusted default values: temperature to 1 and maxOutputTokens to 8192, model as 2.0-flash
- requires
region
from user in Vertex AI API
- Add Vertex AI with new functions:
token.vertex()
,gemini.vertex()
,gemini_image.vertex()
,gemini_audio.vertex()
- These functions are in experimental stage and may change in future versions.
- Generate unit test using
gen_test()
added. gemini_audio
supports more thanmp3
.- gemini.R supports
2.0-flash-exp
as model.
- Generate roxygen with
gen_docs()
added. - Some terms are improved.
- gemini.R supports
1.5=flash
model. - gemini functions require
temperature
,maxTokenOutput
- Updated to use httr2
setAPI
now shows last 4 words of API key for confirmation.cat
updated using cli for better readability in console.gemini_image()
takes default prompt as "Explain this image" and example image of flower. See?gemini_image
- R CMD CHECK no longer shows any NOTEs or WARNINGs.
- use R-hub to check multiple platforms with github action
- Added Multi-turn conversation or Chat 💬. See
gemini_chat
- Slight change with function documentation.
- Now generates message to inform to
setAPI
when API key is not exist yet.