The Google AI Go SDK enables developers to use Google's state-of-the-art generative AI models (like Gemini) to build AI-powered features and applications. This SDK supports use cases like:
- Generate text from text-only input
- Generate text from text-and-images input (multimodal)
- Build multi-turn conversations (chat)
- Embedding
- 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 th 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
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.