go-genai  by googleapis

Go SDK for Google's generative AI models

created 7 months ago
636 stars

Top 53.1% on sourcepulse

GitHubView on GitHub
Project Summary

This Go SDK provides an interface for developers to integrate Google's generative AI models, such as Gemini, into their Go applications. It enables text generation from text-only or multimodal (text-and-image) inputs, allowing for the creation of AI-powered features.

How It Works

The SDK offers a client-based approach to interact with Google's generative AI models. It supports both the Gemini API and Vertex AI backends, abstracting the complexities of API calls. Developers can easily construct content inputs, including text and image data, and send them to the models for content generation.

Quick Start & Requirements

Highlighted Details

  • Supports Gemini Multimodal Live for real-time conversation and video streaming.
  • Enables text generation from text-only and text-and-image inputs.
  • Provides distinct client configurations for Gemini API and Vertex AI.

Maintenance & Community

This is an official Google SDK, indicating active development and support.

Licensing & Compatibility

Licensed under the Apache License, version 2.0. This permissive license allows for commercial use and integration into closed-source applications.

Limitations & Caveats

The SDK focuses on content generation use cases and may not cover all advanced features of the underlying AI models.

Health Check
Last commit

1 day ago

Responsiveness

1 day

Pull Requests (30d)
33
Issues (30d)
10
Star History
406 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.