generative-ai-go  by google

Go SDK for generative AI models

created 1 year ago
810 stars

Top 44.5% on sourcepulse

GitHubView on GitHub
Project Summary

This Go SDK provides access to Google's Generative AI models, such as Gemini, enabling developers to build AI-powered features. It supports text generation, multimodal input (text and images), conversational chat, and embedding generation.

How It Works

The SDK interacts with Google's Generative AI API, abstracting the complexities of model calls. It allows developers to send prompts (text or multimodal) and receive generated content, facilitating the integration of advanced AI capabilities into Go applications.

Quick Start & Requirements

  • Install: go get github.com/google/generative-ai-go
  • Prerequisites: An API key from Google AI Studio.
  • Documentation: https://ai.google.dev/docs

Highlighted Details

  • Supports text-only and multimodal (text-and-image) input.
  • Enables building multi-turn conversational experiences.
  • Includes functionality for generating text embeddings.

Maintenance & Community

  • For SDK-specific questions, create an issue and tag it with question.
  • General Gemini API questions can be discussed on the public forum.
  • Contribution guidelines are available in the Contributing file.

Licensing & Compatibility

  • Licensed under the Apache License, version 2.0.
  • Permissive license suitable for commercial and closed-source applications.

Limitations & Caveats

The SDK relies on external API calls to Google's Generative AI services, requiring an active internet connection and a valid API key. Model availability and performance are subject to Google's service offerings.

Health Check
Last commit

1 month ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
43 stars in the last 90 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Mckay Wrigley Mckay Wrigley(Founder of Takeoff AI), and
1 more.

chatGPTBox by ChatGPTBox-dev

0.1%
11k
Browser extension for ChatGPT integration
created 2 years ago
updated 1 week ago
Feedback? Help us improve.