Python for AI engineers
You don't need to know machine-learning maths to call a model. You need four everyday skills, and the first time one goes wrong, it costs real money.
In this lesson you'll learn to
- Describe a model API call as an HTTPS request with a JSON body, and read the parts of the request and reply.
- Keep API keys out of code and out of the browser, using environment variables.
- Explain why AI apps make calls concurrently, and use asyncio to do it.
- Handle timeouts and rate limits with retries and backoff, and set up a reproducible project with uv.
Create a free account to open this lesson
It's free. You'll get every free lesson, quizzes that save your progress, daily flashcards and streaks.