Skip to content

johanesalxd/go-gemini-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

https://ai.google.dev/gemini-api/docs/get-started/go

curl http://localhost:8080/generatetext
--include
--header "Content-Type: application/json"
--request "POST"
--data '{"prompt_input": "hi, hello!","model": "gemini-pro"}'

curl http://localhost:8080/chat
--include
--header "Content-Type: application/json"
--request "POST"
--data '{"prompt_input": "hi, hello my name is tommy!","model": "gemini-pro"}'

curl http://localhost:8080/chat
--include
--header "Content-Type: application/json"
--request "POST"
--data '{"prompt_input": "who am i?","model": "gemini-pro"}'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages