01Chapter 1: Running a model locally behind an HTTP serverAssume you know basic Python, HTTP requests, and JSON. You also need a local model server, such as Ollama, with at least one model downloaded. Start the server before running client code.1 min read
02Chapter 2: Sending your first chat completionAssume you know basic Python, JSON, and HTTP requests. You also need a local model server running with a model already downloaded. This example uses Ollama at its default address.1 min read
03Chapter 3: Streaming tokens as they are generatedThis chapter assumes basic Python, HTTP, JSON, and a local model server with a downloaded model. Streaming lets your program display generated text while the server is still producing it.1 min read