October 2026
296 pages
7h 34m
English
Everything you have done so far—installing Ollama, downloading models, setting up VS Code, and creating a virtual environment—was preparation. In this chapter, you will cross the line from AI user to AI programmer. You will write Python scripts that send instructions to an LLM and receive its responses, giving you programmatic control over a locally running AI model.
Make sure your virtual environment is activated (you should see
Read now
Unlock full access