RepositoryGoGBVương quốc Anh
SA

sashabaranov/go-openai

OpenAI, GPT 6.1, GPT-Image-2, Whisper API clients for Go. Zero-dependency.

10.8ksao
1.7kfork
154issue
10lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: dall-e

#1 Repository Của Tuần

1
TINIX TRENDING·Chủ đề: openai-whisper

#1 Repository Của Tuần

1
TINIX TRENDING·Chủ đề: streaming-api

#1 Repository Của Tuần

go-openai: Mọi API OpenAI trong một thư viện Go

Thư viện Go không chính thức, hỗ trợ đầy đủ OpenAI API: ChatGPT, GPT-3/4, DALL·E, Whisper.

go-openai của sashabaranov là lựa chọn hàng đầu cho Go developer muốn tích hợp OpenAI mà không cần tự cài đặt HTTP client hay quản lý streaming.

✨ Điểm nổi bật

  • ChatGPT 4o, o1: gọi API chat completion đồng bộ và streaming
  • GPT-3, GPT-4: hỗ trợ completion, embedding, edit, moderation
  • DALL·E 2/3, GPT Image: tạo ảnh từ prompt, xuất URL hoặc base64
  • Whisper: chuyển đổi giọng nói thành văn bản từ file audio
  • Streaming API: nhận phản hồi theo thời gian thực qua stream
  • Đơn giản hóa cài đặt: chỉ cần go get và khởi tạo client bằng token

💡 Vì sao đáng chú ý

Không cần viết lại HTTP request hay quản lý SSE cho streaming — go-openai xử lý toàn bộ, Go developer chỉ cần gọi hàm và nhận kết quả. Phù hợp cho ứng dụng CLI, dịch vụ backend, hoặc công cụ AI tự động.


#OpenAI #Go #ChatGPT #DALLE #Whisper #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryGo
ollama/ollama

Get up and running with Inkling, Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

188.9k
Dec 2, 2026
RepositoryJupyter Notebook
microsoft/generative-ai-for-beginners

21 Lessons, Get Started Building with Generative AI

124.7k
Dec 2, 2026
RepositoryGo
avelino/awesome-go

A curated list of awesome Go frameworks, libraries and software

197.2k
Dec 2, 2026
RepositoryPython
mouredev/Hello-Python

Curso para aprender el lenguaje de programación Python desde cero y para principiantes. 100 clases, 44 horas en vídeo, código, proyectos y grupo de chat. Fundamentos, frontend, backend, testing, IA...

38.2k
Aug 11, 2025
RepositoryPython
langchain-ai/langchain

The agent engineering platform.

150.1k
Nov 29, 2026
RepositoryGo
golang/go

The Go programming language

140.0k
Dec 1, 2026
RepositoryPython
Significant-Gravitas/AutoGPT

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

188.2k
Nov 29, 2026
RepositoryGo
moby/moby

The Moby Project - a collaborative project for the container ecosystem to assemble container-based systems

72.3k
Nov 26, 2026
RepositoryGo
traefik/traefik

The Cloud Native Application Proxy

65.9k
Dec 2, 2026