How-to guide17 min
Getting good results from AI coding assistants
Give context, work in small steps, verify with tests — a workflow that makes AI-written code something you can trust.
Practical AI guides and plain-language explainers. Filter by role and level.
How-to guide17 min
Give context, work in small steps, verify with tests — a workflow that makes AI-written code something you can trust.
How-to guide14 min
Using the Claude API as the example: keep your API key safe, send a first request from Python, and read the answer, the stop reason and the token usage.
How-to guide15 min
Instead of asking for JSON and hoping, define the shape as a schema and get responses your code can use directly. Worked through with a customer-message classifier.
How-to guide15 min
Cache the long instructions and documents you resend with every request, and their input cost drops sharply. Using a support bot built on a manual, here's how to place the cache point and check that it works.
How-to guide18 min
Build a Python chatbot that searches ten internal policy documents with embeddings and answers only from what it finds, then test search and answers separately and fix what breaks.