最新博客文章
9 / 200AI 开发实战教程,从零到一构建你的 AI 应用。
All200
Beginner32
Intermediate92
Advanced76
All
Prompt Engineering12
RAG Retrieval Augmented17
Agent Development34
Model Fine-tuning21
Deployment and Operations25
AI Application Development40
DeepSeek API16
Multimodal Development6
AI Safety6
Model Inference3
Retrieval Systems1
RAG Retrieval1
Model Architecture3
API Development1
Agent Development10
Model Deployment1
Multimodal1
Model Evaluation2
Tutorial
Date
JSON Mode Structured Output: From Schema to Production
DeepSeek API
Intermediate
DeepSeek V4 natively supports JSON Mode, ensuring model output strictly conforms to JSON Schema. This article details the response_format parameter, structured output validation, Pydantic integration, and production deployment strategies.
Tool Calls in Practice: The Complete Guide to DeepSeek V4 Function Calling
DeepSeek API
Intermediate
Function Calling is the core mechanism connecting AI to the real world. This article details DeepSeek V4's tool_calls usage, including parallel calls, strict mode, error handling, and multi-tool orchestration, with complete Python/Node.js code.
FIM Code Completion: Making DeepSeek Your AI Programming Assistant
DeepSeek API
Intermediate
Fill-in-the-Middle (FIM) is a core technology for code completion. DeepSeek V4 supports native FIM completion and can be integrated into editors such as VS Code and Neovim. This article details FIM principles, API calls, and editor integration.
Streaming Output in Practice: SSE Handling and Frontend Rendering
DeepSeek API
Intermediate
In production environments, streaming output is key to improving user experience. This article details DeepSeek API's SSE streaming response handling, including Python/Node.js implementations, frontend word-by-word rendering, thinking mode streaming parsing, and interruption handling.
DeepSeek V4 Flash Performance In-Depth Review
DeepSeek API
Intermediate
DeepSeek V4 Flash rivals GPT-5 performance at an ultra-low price of ¥0.02/M tokens. This article provides objective selection advice based on real tests across six dimensions: coding, reasoning, mathematics, multilingual, latency, and concurrency.
Efficient Use of 1M Context: Strategies for Multi-Turn Dialogues and Long Document Processing
DeepSeek API
Intermediate
DeepSeek V4 supports a 1M token context window (approximately 700,000 Chinese characters). This article details how to efficiently utilize long contexts, including message truncation strategies, summary compression, chunked processing, and best practices for large document analysis.
Long Context in Practice: KV Cache and 1M Token Application Design
DeepSeek API
Intermediate
The 1M context makes it possible to 'stuff in an entire manual', but processing long contexts has many engineering pitfalls. This article explains KV Cache mechanisms, long document chunking strategies, token budget management, and practical designs for multi-turn conversations.
DeepSeek V4 Thinking Mode: The Complete Guide
DeepSeek API
Intermediate
DeepSeek V4's core innovation—Thinking Mode—allows the model to reason deeply before answering. This article details the thinking.type, reasoning_effort parameters, chain-of-thought extraction, and non-thinking/thinking dual-mode switching strategies, with complete Python/Node.js code examples.
DeepSeek Harness Python SDK & Multi-Mode Calls: Web UI to Headless
DeepSeek API
Intermediate
Explore DeepSeek Harness beyond the Web UI: headless runs, CLI, Python SDK, and TypeScript SDK. Learn Python SDK sessions, tool callbacks, streaming output, and multimodal input.