Skip to main content

Padding Tutorials

What do you want to build?

2 tutorials

All tutorials

  • How to Split Documents into Chunks for a RAG App

    You will write a Python chunker with no dependencies that splits Markdown help pages at their headings and sentences into overlapping pieces, saves them with their source and heading, and checks that no text was lost and no piece is too long.

    Beginner · 18 min · AI and machine learning

  • How to Call a Large Language Model API from Python

    You will store an API key safely, install Anthropic's Python SDK 2.8.0, send Claude Sonnet 5.5 a first request, give it instructions and a conversation history, handle the errors an API call can raise, and work out what each call costs.

    Beginner · 18 min · AI and machine learning