ChatGPT (GPT-3.5-turbo) API Client in Golang logo

ChatGPT (GPT-3.5-turbo) API Client in Golang

Free

Golang client for official ChatGPT API (GPT-3.5-turbo)

FreeFree tier
Type
Open Source

About ChatGPT (GPT-3.5-turbo) API Client in Golang

A lightweight Go HTTP client for the official OpenAI Chat Completions API (ChatGPT), specifically using the GPT-3.5-turbo model. It provides structured request and response types for easy integration into Go applications. The library is open-source under the MIT license and is installable via the standard go get command. Note: the repository was archived in August 2024 and is no longer maintained.

Key Features

HTTP client for OpenAI Chat Completions API
Supports GPT-3.5-turbo model
Simple request/response types with roles and content
Easy installation via 'go get'
MIT licensed for flexible use

Pros & Cons

Pros
  • Lightweight and simple to integrate
  • Provides clear Go struct types for API requests and responses
  • MIT license allows unrestricted use and modification
  • Easy setup with standard Go toolchain
Cons
  • Repository archived and no longer maintained
  • Only supports GPT-3.5-turbo, not newer models like GPT-4 or GPT-4o
  • Limited documentation beyond basic usage example
  • No active community support or updates

Best For

Building conversational AI applications in GoIntegrating ChatGPT into existing Go servicesPrototyping chat-based featuresAutomated chat completions for testing or scripting

FAQ

What does this library do?
It provides a Go client for the official OpenAI Chat Completions API using the GPT-3.5-turbo model, handling HTTP requests and responses with typed Go structs.
How do I install it?
Run 'go get github.com/AlmazDelDiablo/gpt3-5-turbo-go' in your Go project.
Is this library still maintained?
No, the repository was archived by the owner on August 6, 2024, and is now read-only, meaning no further updates or fixes will be provided.
What license is it under?
The library is licensed under the MIT License.