maragudk/gai
Go Artificial Intelligence (GAI) helps you work with foundational models, large language models, and other AI models.
Provides multi-provider abstractions (OpenAI, Google, Anthropic) for chat completions and embeddings with built-in tool use support, letting you define custom tools with JSON schema validation and explicit control over execution. Includes evaluation utilities with lexical and semantic scoring, stdlib-included tools like time fetching, and an iterator pattern for streaming responses without automatic tool invocation.
Stars
41
Forks
4
Language
Go
License
MIT
Category
Last pushed
Mar 12, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/embeddings/maragudk/gai"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
lfnovo/esperanto
A unified interface for various AI model providers
apocas/restai
RESTai is an AIaaS (AI as a Service) open-source platform. Built on top of LlamaIndex &...
sbhjt-gr/InferrLM
On-device AI for iOS & Android
baidubce/bce-qianfan-sdk
Provide best practices for LMOps, as well as elegant and convenient access to the features of...
solygambas/python-openai-projects
13 projects using ChatGPT API, Whisper, Embeddings, and DALL-E with Python.