An open API service indexing awesome lists of open source software.

https://github.com/john-hamnavoe/gemini_chat

Ruby class to create a chatbot that uses google Gimini API
https://github.com/john-hamnavoe/gemini_chat

ai gemini-api ruby

Last synced: about 1 month ago
JSON representation

Ruby class to create a chatbot that uses google Gimini API

Awesome Lists containing this project

README

          

# README

## Google API Key
You need to get a Google API key and set it in the `GEMINI_API_KEY` environment variable.

## Set the API Key in the Environment
```
export GEMINI_API_KEY="your-api-key-here"
```

## Run the Script

```
ruby gemini_chat.rb
```

## More Information

https://hamnavoepartners.com/published_articles/4