Prompting

Wiki chapters and blog posts about Prompting.

Wiki

Agent context and memory: budgets, versions, and state

Context engineering fits instructions, tool history, and retrieved evidence into a model call. Long-term memory keeps confirmed preferences across sessions. Test whole tool turns, version precedence, deletion, and replay.

Intermediate 9 min read

Agents and Tool Calling in Practice: From Function Calling to ReAct Workflows

An agent lets the model decide the next step in a loop, and its reliability comes from the code around the loop: validation, write confirmation, step limits and evaluation. Build one with Qwen3-4B, measure on 12 support cases what guardrails catch, and learn prompt injection, MCP and pass^k.

Intermediate 64 min read

RAG in Practice: Chunking, Hybrid Retrieval, Reranking and Evaluation

How to build a retrieval-augmented generation system that works: clean and chunk documents, combine dense and BM25 retrieval with RRF, rerank with a cross-encoder, assemble the context, and measure every step with Hit@k and MRR on a small runnable corpus.

Intermediate 42 min read

Blog posts

Topics