Skip to content

srgchrksv/gemini-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Create .env file with environment variable API_KEY=your_api_key

Install required packages, run:

go mod tidy

Run chat:

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

Releases

No releases published

Packages

No packages published

Languages