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
- Host: GitHub
- URL: https://github.com/john-hamnavoe/gemini_chat
- Owner: john-hamnavoe
- Created: 2025-02-23T14:11:52.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-23T14:24:23.000Z (over 1 year ago)
- Last Synced: 2025-02-23T15:28:11.897Z (over 1 year ago)
- Topics: ai, gemini-api, ruby
- Language: Ruby
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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