Gaurav-Gosain/openai-go
A simple wrapper for the OpenAI REST API written in pure Golang.
This is a tool for Go developers who want to integrate OpenAI's large language models into their applications. It takes structured prompts and configurations as input and returns text-based responses or function calls from models like GPT-3.5-turbo and GPT-4. Developers can use this to add AI chat capabilities to their Go programs.
No commits in the last 6 months.
Use this if you are a Go developer building an application that needs to interact with OpenAI's Chat API.
Not ideal if you need support for OpenAI features beyond the Chat API (e.g., streaming, image generation, embeddings) or are not programming in Go.
Stars
8
Forks
—
Language
Go
License
MIT
Category
Last pushed
Oct 31, 2023
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/Gaurav-Gosain/openai-go"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
ai-forever/gigachat
Библиотека для доступа к GigaChat
Krazal/nppopenai
OpenAI (aka. ChatGPT) plugin for Notepad++
sashabaranov/go-openai
OpenAI ChatGPT, GPT-5, GPT-Image-1, Whisper API clients for Go
mkht/PSOpenAI
PowerShell module for OpenAI API.
olrea/openai-cpp
OpenAI C++ is a community-maintained library for the Open AI API