Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/srgchrksv/gemini-ai
A simple conversational Go Gemini-ai chat
https://github.com/srgchrksv/gemini-ai
chat gemini gemini-api genai go golang google
Last synced: 4 days ago
JSON representation
A simple conversational Go Gemini-ai chat
- Host: GitHub
- URL: https://github.com/srgchrksv/gemini-ai
- Owner: srgchrksv
- Created: 2024-03-17T16:23:24.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-03-18T07:03:58.000Z (8 months ago)
- Last Synced: 2024-06-20T19:35:15.281Z (5 months ago)
- Topics: chat, gemini, gemini-api, genai, go, golang, google
- Language: Go
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## A simple conversational Go Gemini-ai chat
Chat keeps converastion history for a session
### To begin:
Get api key here : [https://aistudio.google.com/app/apikey](https://aistudio.google.com/app/apikey)
Create .env file with environment variable API_KEY=your_api_key
### Install required packages, run:
```bash
go mod tidy
```### Run chat:
```bash
go run main.go
```Additionally you can check googles examples on how to get started with the Gemini API in Go applications [https://ai.google.dev/tutorials/go_quickstart](https://ai.google.dev/tutorials/go_quickstart)