Learn/Applied AI engineering

Applied AI engineering

Engineering trade-offs rather than memorized answers, each paired with a tool that runs in your browser. Guides are written in Chinese.

Updated 2026-11-27

Guides

7 min read

Choosing RAG chunk size and overlap

Smaller chunks sharpen similarity but fragment context; overlap prevents broken sentences but inflates the index. Compare on a golden set instead of memorizing one value.

8 min read

Hybrid search vs vector-only retrieval

Vectors handle paraphrase, BM25 handles exact identifiers, and a reranker handles final precision. They divide the work rather than replace each other.

8 min read

Where LoRA and QLoRA actually save GPU memory

Training memory is roughly weights + gradients + optimizer state + activations. LoRA shrinks gradients and optimizer state; QLoRA also stores frozen weights in about 4 bits.

7 min read

MCP vs Function Calling vs Skills

Function Calling is a model capability, MCP is an open protocol for connecting tools to many hosts, and Skills are instructions loaded on demand. The host, not the model, executes the function.

6 min read

Can long context replace RAG?

For small corpora or close reading of one document, long context is often simpler. For large, permissioned, frequently updated knowledge with citations, RAG remains the foundation.

7 min read

The agent tool loop: the model names, the host runs

The model does not run functions. It returns a tool name and JSON arguments. The host validates, executes, returns the result, and stops at a round cap.

7 min read

Retrieval evaluation: hits before fluent answers

Hit@k only says whether a labeled document is in the top k. MRR says how early the first relevant document appears. Do not add incomparable scores when the top hit differs.

6 min read

Agent evaluation: traces, graders, and observability

LangSmith records a run and prompt version, OpenEvals splits correctness from groundedness, and LangFuse is a separate observability path. One overall score hides routing errors.

In-browser tools

36-question self-check

Write your own answer, then compare it with the key points. Answers stay in your browser.

Start the self-check →