Learn R Programming

⚠️There's a newer version (0.12.0) of this package.Take me there.

gemini.R (version 0.9.2)

Interface for 'Google Gemini' API

Description

Provides a comprehensive interface for Google Gemini API, enabling users to access and utilize Gemini Large Language Model (LLM) functionalities directly from R. This package facilitates seamless integration with Google Gemini, allowing for advanced language processing, text generation, and other AI-driven capabilities within the R environment. For more information, please visit .

Copy Link

Version

Install

install.packages('gemini.R')

Monthly Downloads

1,159

Version

0.9.2

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Jinhwan Kim

Last Published

March 12th, 2025

Functions in gemini.R (0.9.2)

gemini

Generate text from text with Gemini
addHistory

Add history for chating context
gemini.vertex

Generate text from text with Gemini Vertex API
gemini_image

Generate text from text and image with Gemini
gemini_image.vertex

Generate text from text and image with Gemini Vertex API
gemini_audio.vertex

Analyze Audio using Gemini Vertex API
gen_tests

Generates unit test code for an R function.
gemini_chat

Multi-turn conversations (chat)
gen_docs

Generate Roxygen Documentation
gemini_audio

Analyze audio using Gemini
setAPI

Set API key
token.vertex

Generate Gemini Access Token and Endpoint URL