Free module
AI for developers: the bridge
Learn AI for developers hands on: how a model works, HTTP and JSON, keeping keys secret, reading API docs, streaming and cost.
The lessons
Each lesson is free to read in full. Create a free account to run its commands in a live lab and to sit its quizzes and tasks.
1 · Container lab
How a language model works
I can explain how a language model produces text, without the maths.
Read the lesson2 · Container lab
HTTP requests and JSON
I can read and write an HTTP request and a JSON body.
Read the lesson3 · Container lab
Keep API keys out of code
I can keep a key out of my code and my Git history.
Read the lesson4 · Container lab
How to read API documentation
I can turn an API's documentation into a working call.
Read the lesson5 · Container lab
Async, await and streaming
I can say why a slow call is awaited and how a streamed answer arrives.
Read the lesson6 · Container lab
Tokens and the cost of a call
I can estimate what a call costs before I make it.
Read the lesson
Worked in a real lab
Every lesson of this module is worked in a lab started for you alone. The labs it uses:
Teaching a class? Set this module for your students with a teacher guide, marked assignments and a lab for every student.