RepositoryGo
cohesion-org

cohesion-org/deepseek-go

Go SDK for DeepSeek V4 API — chat, reasoning, Anthropic-compatible endpoint, tool calling, FIM, and streaming. Also supports OpenRouter, Azure, Ollama, and OpenAI-compatible providers.

346sao
35fork
1issue
1lượ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ủ đề: openrouter

#1 Repository Của Tháng

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

#1 Repository Của Tháng

2
TINIX TRENDING·Chủ đề: golang-library

#2 Repository Của Tháng

🚀 DeepSeek V4 API client cho Go — toàn diện và dễ dùng

Một thư viện Go type-safe để giao tiếp với DeepSeek V4, hỗ trợ cả OpenRouter, Azure, Ollama và các nhà cung cấp tương thích OpenAI.

Deepseek-Go là một Go SDK cho phép truy cập vào nền tảng DeepSeek một cách an toàn và hiệu quả. Dự án hỗ trợ đầy đủ các tính năng như chat completions với streaming, reasoning chain-of-thought, gọi công cụ, FIM (Fill-in-the-Middle), đầu ra JSON có cấu trúc, cũng như kiểm tra số dư tài khoản và liệt kê mô hình.

✨ Điểm nổi bật

  • Chat Completion: Gửi tin nhắn và nhận phản hồi từ mô hình DeepSeek V4 với hỗ trợ streaming.
  • Anthropic API: Hỗ trợ endpoint tương thích Anthropic qua NewAnthropicClient, bao gồm content blocks, tool use và streaming.
  • Thinking Mode: Hỗ trợ reasoning với reasoning_effort ("high" / "max").
  • Tool Calling: Gọi hàm với chế độ chuẩn và strict mode (beta, tự động chuyển đến /beta).
  • FIM Completion: Hỗ trợ hoàn thiện mã nguồn kiểu Fill-in-the-Middle với streaming.
  • JSON Output: Đầu ra JSON có cấu trúc thông qua ResponseFormat.
  • External Providers: Hỗ trợ OpenRouter, Azure, Ollama và bất kỳ endpoint nào tương thích OpenAI.
  • Token Estimation: Ước lượng token phía client cho văn bản tiếng Việt và tiếng Anh.

💡 Vì sao đáng chú ý

Deepseek-Go không chỉ là một thư viện giao tiếp đơn thuần — nó mang đến một giải pháp toàn diện cho các ứng dụng Go cần tích hợp AI thông qua DeepSeek. Với thiết kế modular và hỗ trợ đa nhà cung cấp, nhà phát triển có thể dễ dàng chuyển đổi giữa các dịch vụ mà không cần thay đổi logic ứch dụng. Đặc biệt hữu ích cho các dự án xây dựng agent AI, chatbot chuyên sâu, hoặc công cụ gợi ý mã nguồn thông minh.


#DeepSeek #GoLang #OpenSource #AI #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 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
RepositoryGo
golang/go

The Go programming language

139.5k
Oct 24, 2026
RepositoryPython
open-webui/open-webui

User-friendly AI Interface (Supports Ollama, OpenAI API, ...)

156.8k
Oct 26, 2026
RepositoryTypeScript
openclaw/openclaw

The AI that really does things. Any OS. Any Platform. The lobster way. 🦞

393.0k
Oct 25, 2026
RepositoryShell
obra/superpowers

An agentic skills framework & software development methodology that works.

305.5k
Oct 23, 2026
RepositoryTypeScript
firecrawl/firecrawl

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

195.6k
Oct 26, 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.

187.7k
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