Skills Plugins MCP Model 导航 博客 资讯 留言 我的中心

最新博客文章

16 / 200

AI 开发实战教程,从零到一构建你的 AI 应用。

Tutorial Date
Dialogue Prefix Continuation: Let AI Perfectly Complete Your Half-Sentence DeepSeek API Advanced DeepSeek V4's Chat Prefix Completion (Beta) feature allows the model to continue generating from a specified prefix. This article details use cases, API calls, comparison with FIM, and practical application examples. 2026-08 ·12 min read 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. 2026-08 ·14 min read Zero-Code Migration: Replacing Claude API with DeepSeek DeepSeek API Beginner DeepSeek natively supports Anthropic API format compatibility; you only need to modify the base_url line to seamlessly migrate Claude applications to DeepSeek. This article details the migration steps, compatibility comparison table, and precautions, achieving cost reduction and efficiency improvement with zero code changes. 2026-08 ·10 min read 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. 2026-08 ·16 min read 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. 2026-08 ·14 min read 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. 2026-08 ·14 min read DeepSeek API from Zero to Launch: A Complete Project Walkthrough DeepSeek API Beginner Hands-on guide to building a complete AI application with DeepSeek API—an intelligent customer service system. From environment setup to API calls, from architecture design to frontend interaction, from testing to deployment, covering the entire process. 2026-08 ·20 min read DeepSeek API Cost Optimization in Practice: Cache Hits Save 98% DeepSeek API Beginner DeepSeek V4 Flash cache hit input costs only ¥0.02/million tokens, saving 98% compared to a miss (¥1/million). This article details the cache mechanism, hit strategies, token management, and a Flash vs Pro selection guide. 2026-08 ·12 min read 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. 2026-08 ·16 min read 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. 2026-08 ·14 min read LLM Adapter & StreamChunk: Stream Any Model into DeepSeek Harness DeepSeek API Advanced Build an LLM adapter for DeepSeek Harness: minimal interface, StreamChunk field semantics, chunk ordering, reasoning and tool calls in one stream, plus incremental rendering and retry. 2026-09 ·58 min read Token Usage Precision and Rate Limiting Strategies DeepSeek API Beginner Accurately calculating token usage is the foundation for controlling API costs. This article details token calculation methods, DeepSeek rate limiting rules, concurrency control, and request queue design in production environments. 2026-08 ·12 min read 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. 2026-08 ·20 min read 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. 2026-08 ·16 min read 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. 2026-09 ·34 min read DeepSeek × Claude Code Integration in Practice DeepSeek API Beginner DeepSeek has been integrated into mainstream agent tools such as Claude Code, GitHub Copilot, and OpenCode. This article provides a hands-on guide to using DeepSeek as the backend model to drive Claude Code, enjoying a top-tier coding experience with extremely low API costs. 2026-08 ·12 min read

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。