RepositoryGo
go-deepseek

go-deepseek/deepseek

Go (Golang) client for Deepseek API. Deepseek Go supports DeepSeek-V3, DeepSeek-R1 and more

132stars
14forks
2issues
0views

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ủ đề: golang-client

#1 Repository Của Tháng

1
TINIX TRENDING·Chủ đề: deepseek-chat

#1 Repository Của Tháng

1
TINIX TRENDING·Chủ đề: deepseek-client

#1 Repository Của Tháng

🚀 Go client tối giản cho hệ sinh thái Go

Gọi DeepSeek API từ Go chỉ với vài dòng, có streaming, non-streaming và fake client.

Go-Deepseek là client chính thức từ go-deepseek/deepseek dành cho DeepSeek API. Thư viện hỗ trợ DeepSeek-V3, DeepSeek-R1 và các model khác, đồng thời giữ cấu trúc package theo cách sử dụng quen thuộc của Go.

✨ Điểm nổi bật

  • Cài đặt trực tiếp: Thêm client vào dự án Go bằng go get github.com/go-deepseek/deepseek.
  • Streaming và non-streaming: Gọi chat completion theo luồng dữ liệu hoặc nhận toàn bộ phản hồi trong một lần.
  • Nhiều model: README mô tả hỗ trợ DeepSeek-V3, DeepSeek-R1 và các model khác.
  • Cấu trúc quen thuộc: Kiểu request nằm trong package request, còn kiểu response nằm trong package response.
  • Đầy đủ payload: Client cung cấp request và response payload cho các API được hỗ trợ.
  • Fake client: Tiếp tục phát triển và kiểm thử khi DeepSeek API bị gián đoạn, thay vì phụ thuộc vào dịch vụ thật.
  • Nhiều ví dụ sẵn có: Thư mục examples trình bày cách dùng từng tính năng của client.

💡 Vì sao đáng chú ý

Điểm đáng chú ý nhất là thiết kế tập trung vào cộng đồng Go: request, response và client có cấu trúc rõ ràng, phù hợp với cách tổ chức package thông thường. Ví dụ chat completion chỉ cần tạo ChatCompletionsRequest, sau đó gọi CallChatCompletionsChat với context.Context.

Fake client cho phép tách phần kiểm thử khỏi DeepSeek API thật, hữu ích khi API bị gián đoạn hoặc khi cần môi trường phát triển ổn định. Dự án cũng nhấn mạnh nhiều bài test cùng trạng thái bảo trì tích cực.


#Golang #DeepSeekAPI #OpenSource #Streaming #TiniX

Similar Projects

Discover other similar projects and AI models.

RepositoryGo
ollama/ollama

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

184.9k
Oct 26, 2026
RepositoryGo
avelino/awesome-go

A curated list of awesome Go frameworks, libraries and software

190.5k
Oct 26, 2026
Repository
aideveloper-web/Free-Deepseek

Explore Free DeepSeek AI, a standalone AI application for users interested in artificial intelligence, conversational tools, and AI-assisted workflows.

95
Oct 25, 2026
RepositoryGo
golang/go

The Go programming language

139.5k
Oct 24, 2026
RepositoryGo
moby/moby

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

72.2k
Oct 20, 2026
RepositoryGo
traefik/traefik

The Cloud Native Application Proxy

65.4k
Oct 26, 2026
RepositoryGo
rclone/rclone

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

60.5k
Oct 24, 2026
RepositoryGo
go-gitea/gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD

58.7k
Oct 26, 2026
RepositoryGo
charmbracelet/bubbletea

A powerful little TUI framework 🏗

45.5k
Oct 26, 2026