From 3499ad3cbb67a0b89cd3319793254b2efe1a3c01 Mon Sep 17 00:00:00 2001 From: Christopher Gill Date: Wed, 10 Dec 2025 14:18:30 -0500 Subject: [PATCH] docs: Update and restructure Go AI library recommendations, adding Genkit Go and an updated Google Generative AI package reference --- AI.md | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/AI.md b/AI.md index 269a1058..a16528d9 100644 --- a/AI.md +++ b/AI.md @@ -33,21 +33,15 @@ human-readable report. This is a fast moving area of development, and these answers may change. -If you have a specific service or services in mind, many service -providers have their own Go packages. - -If you want to be flexible about services, use a general framework -like [langchaingo](https://pkg.go.dev/github.com/tmc/langchaingo) or -[Ollama](https://pkg.go.dev/github.com/ollama/ollama/api). - -### Some specific services - -- Google Generative AI: - [github.com/google/generative-ai-go/genai](https://pkg.go.dev/github.com/google/generative-ai-go/genai). - - [Examples](https://pkg.go.dev/github.com/google/generative-ai-go/genai#pkg-examples) -- Google Cloud Vertex AI: - [cloud.google.com/go/vertexai/genai](https://pkg.go.dev/cloud.google.com/go/vertexai/genai). - - [Examples](https://pkg.go.dev/cloud.google.com/go/vertexai/genai#pkg-examples) +**Provider-Specific SDKs** +If you are targeting a specific service, check if the provider offers an official Go package. +- **Google Generative AI**: [github.com/googleapis/go-genai](https://pkg.go.dev/google.golang.org/genai) ([Examples](https://pkg.go.dev/google.golang.org/genai#pkg-examples)) + +**General Frameworks** +For greater flexibility across different services, consider using a general framework: +- [Genkit Go](https://genkit.dev/docs/overview/?lang=go): An open source framework from Google for building AI-powered applications. +- [langchaingo](https://pkg.go.dev/github.com/tmc/langchaingo): The Go implementation of the LangChain framework. +- [Ollama](https://pkg.go.dev/github.com/ollama/ollama/api): A library for running large language models locally. ## How do I call a hosted service from Go?