CHAPTER 13
Working with AI as Your Coding Sidekick
Artificial intelligence, or AI, is the big idea of teaching computers to act smart. It’s one of the coolest and most powerful tools in the world of technology today. AI helps computers recognize voices, understand words (that’s called natural language processing), understand what is “seen” on cameras (computer vision), recommend music, answer questions, and drive cars. In this chapter, you’ll explore what AI really is and how it works behind the scenes — not with magic, but with data, logic, math, and lots of patterns.
AI isn’t just for scientists or big tech companies — you can use AI too! You’ll soon discover how AI can help you learn to code, debug your programs, and even become part of the programs you build. Whether you’re working in Scratch, Python, or other languages, AI opens up new ways to make your projects more fun and functional.
To wrap up the chapter, you’ll get hands-on with a platform called Machine Learning for Kids. You’ll learn how to train your very own AI language model, which involves teaching your computer to understand what you type and respond with helpful, human-like answers. Get ready to add some extra brainpower to your code!

Generated with AI using DALL·E – OpenAI
How Does AI Work?
You may be wondering how AI works. You may also be curious about how AI is different from computer code — like the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access