- Obtain an API key to use with the Google AI SDKs.
- Add the SDK to your module with
go get github.com/google/generative-ai-go
- Follow the examples
The documentation of the Google AI Go SDK is on pkg.go.dev
Find complete documentation for the Google AI SDKs and the Gemini model in the Google documentation: https://ai.google.dev/docs
For a list of the supported models and their capabilities, see https://ai.google.dev/models/gemini
For general Gemini API questions (not specific to the Go SDK), check out the public discussion forum.
For questions specific to the Go SDK, create a new issue and tag it with
a question
label.
See Contributing for more information on contributing to the Google AI Go SDK.
The contents of this repository are licensed under the Apache License, version 2.0.