中文

Tutorials

In-depth AI tutorials — from fundamentals to production: RAG, agents, deployment, fine-tuning and more.

246

Total tutorials

44

Beginner

20

Hands-on

AdvancedHands-on

Advanced RAG: Complete Guide 2026 – Beyond Basic Retrieval to Build Production-Grade Knowledge Bases

Basic RAG systems are easy to set up, but making them stable and effective in production is hard. This article dives deep into advanced RAG techniques: hybrid retrieval, reranking, multi-query decomposition, query routing, and systematic evaluation to improve RAG performance.

RAGAdvanced RAG
18 min
IntermediateHands-on

Query World Cup Data in Plain Language: Text-to-SQL Hands-On (2026)

World Cup data is too vast to query by hand. This guide uses Text-to-SQL to automatically translate natural-language questions into SQL queries, building a match-data assistant you can ask in plain language — focusing on schema design, preventing wrong queries, and SQL-injection safety, the things production must solve.

世界杯Text-to-SQL
12 min
BeginnerHands-on

Bolt.new Complete Guide 2026: From Zero to Deployed Full-Stack App with Just Chat

Bolt.new is the most powerful browser-based full-stack AI development tool—just describe what you want, and it automatically generates frontend and backend code, configures databases, and deploys with one click. This guide takes you from your first project to advanced tips for mastering Bolt.new.

Bolt.newAI全栈开发
12 min
BeginnerHands-on

Cursor + Claude Opus 4.1: Build the Ultimate AI Coding Workflow for 2026 (Complete Guide)

This guide is for all developers, teaching you how to configure Claude Opus 4.1 in Cursor IDE and extend Agent capabilities with custom Rules and MCP Servers. Includes complete configuration files, prompt optimization, and troubleshooting. Following this guide can boost coding efficiency by 5-10x.

CursorClaude
30 min
IntermediateHands-on

Dify Enterprise Private Knowledge Base Complete Setup Guide: RAG Configuration & Best Practices (2026)

A detailed walkthrough of building an enterprise private knowledge base with Dify: Docker private deployment, document preprocessing strategies, chunk parameter tuning, embedding model selection, hybrid search configuration, and practical tips to fix common issues like 'irrelevant answers' or 'missing key information'.

DifyRAG
40 min
BeginnerHands-on

Dify vs Coze vs FastGPT: The Ultimate AI Application Building Platform Comparison in 2026

Dify vs Coze vs FastGPT Ultimate Comparison (2026): Choose Dify for enterprise private deployment, Coze for domestic channel distribution, and FastGPT for Chinese knowledge base Q&A. Includes Docker deployment walkthrough, API call examples, four-scenario selection guide, and common pitfalls.

DifyCoze扣子
12 min
BeginnerHands-on

Doubao Advanced Usage Guide 2026: Unlocking the Hidden Powers of ByteDance's AI Assistant

Doubao is ByteDance's AI assistant with over 50 million monthly active users. Most users only scratch the surface with basic chat. This article dives deep into Doubao's AI plugin system, custom agent creation, integration with Feishu, and developer API access.

豆包字节跳动
11 min
IntermediateHands-on

Building Enterprise-Grade RAG 2.0 Systems: A Complete Practice from Document Parsing to Knowledge Retrieval

This article systematically introduces the construction and optimization methods of enterprise-grade RAG 2.0 systems, covering key technologies such as document parsing, query rewriting, hybrid retrieval, ranking fusion, ontology constraints, and cache optimization. Combined with real-world scenarios in manufacturing and finance, it explains in detail how to address core challenges like parsing complex document structures, multi-turn dialogue anaphora resolution, and balancing retrieval precision and recall. It also introduces ontology-driven semantic constraints and caching mechanisms to improve accuracy and response efficiency in professional domains. Suitable for developers with basic RAG knowledge who want to build production-level systems.

ragevaluation
30 min
IntermediateHands-on

GitHub Copilot Advanced Tips 2026: 8 Powerful Features 90% of People Don't Use

8 advanced GitHub Copilot tips for 2026: inline Chat slash commands, repo-level copilot-instructions.md (highest leverage), #file/@workspace context variables, Edits multi-file editing, Agent mode acceptance criteria upfront, hidden completion operations, code review, and CLI.

GitHub CopilotCopilot进阶
11 min
BeginnerHands-on

Kimi K2 Complete Guide 2026: The Right Way to Use Long Context + Deep Research

Kimi K2 Guide (2026): Three key assistant scenarios (ultra-long document analysis with questioning techniques, deep research with structured queries, Chinese writing) + Developer side (OpenAI-compatible API, open-weight deployment requirements, routing table vs ChatGPT/Claude). Includes pitfalls like long-context attention dilution.

KimiKimi K2
11 min
IntermediateHands-on

Large Model Post-Training in Practice: From SFT to RL — The Complete Tech Stack

This article systematically explains the key techniques of large model post-training, including supervised fine-tuning (SFT), parameter-efficient fine-tuning (PEFT), reinforcement learning from human feedback (RLHF), and on-policy distillation (OPD). It focuses on the principles, pros and cons, and applicable scenarios of each method, and introduces a stability-plasticity trade-off framework to quantify the general capability loss caused by fine-tuning. By comparing the forgetting characteristics of full fine-tuning, LoRA, OFT, and other PEFT methods, it reveals that the destruction of activation space geometric structure is the key mechanism of forgetting. Finally, it summarizes the advantages of OPD as a new paradigm and provides practical guidelines and FAQs.

fine-tuninglora
35 min
IntermediateHands-on

LlamaIndex Practical Guide: RAG Application Development from Beginner to Production

LlamaIndex is purpose-built for RAG applications, making it the go-to framework for building enterprise knowledge base Q&A systems. This article covers the core architecture, key differences from LangChain, and 5 complete code examples from document loading to production deployment.

LlamaIndexRAG
20 min
IntermediateHands-on

LlamaIndex vs LangChain: Which One to Use for Building RAG (2026 Hands-On Comparison)

Everyone says LlamaIndex focuses on retrieval and LangChain leans toward orchestration, but when it comes to actual projects, you still get stuck. This article breaks it down by 'what you want to do,' with real code and pitfalls, helping you make a decision in 10 minutes.

LlamaIndexLangChain
12 min
IntermediateHands-on

LLM API Cost Control in Practice: 12 Ways to Cut Your AI Bill from $500 to $80

A practical llm cost optimization guide: 12 actionable methods—model routing, prompt compression, semantic caching, Batch API, context trimming, attribution.

LLM成本API优化
20 min
IntermediateHands-on

LLM Fallback Strategy: When Models Go Down, Can Your App Survive?

Production LLM fallback: retries with backoff and jitter, circuit breakers, multi-provider fallback routing, timeout budgets, cache safety nets, and pitfalls.

LLM Fallback降级策略
10 min
IntermediateHands-on

Tongyi Qianwen API Developer Guide 2026: The Most Cost-Effective Domestic LLM Integration Solution

Alibaba Cloud's Tongyi Qianwen (Qwen) series leads domestic models in cost-effectiveness and multilingual capabilities, with Qwen2.5 widely adopted by global developers. This article covers everything from obtaining an API key to building production-grade applications, detailing best practices for Qwen API development.

通义千问Qwen
13 min
BeginnerHands-on

Replit Agent Complete Tutorial 2026: AI Writes, Runs, and Deploys Your Code End-to-End

Replit Agent Complete Tutorial (2026): A conversational full-stack assistant in a real Linux environment—from a one-sentence requirement to a public URL. Includes acceptance criteria upfront prompts, Agent vs Assistant cost division, Secrets/Checkpoint engineering habits, and comparison with Bolt/Cursor.

ReplitReplit Agent
10 min
IntermediateHands-on

Stable Diffusion 3.5 Local Deployment Complete Guide: Generate Unlimited Images for Free

SD 3.5 local deployment guide (2026): hardware table (Medium 8GB VRAM works), ComfyUI installation, model and text encoder placement (missing t5 is the #1 error), parameter tips (CFG 4-6), advanced roadmap for LoRA/ControlNet/batch API, and common error quick reference.

Stable DiffusionSD 3.5
12 min
IntermediateHands-on

Voice Activity Detection (VAD): Detecting Whether Someone Is Speaking with Python

Voice activity detection in Python with webrtcvad and Silero VAD: frame constraints, energy vs. neural VAD, Whisper integration, streaming, tuning tips.

Voice Activity DetectionVAD
9 min