-
Book Overview & Buying
-
Table Of Contents
Python Automation Cookbook - Third Edition
By :
The key element in Artificial Intelligence is the AI Model. In general, there's some confusion between AI models and GenAI tools.
For example, ChatGPT is a tool by OpenAI, and it can call several different models that can be chosen, based on the requirements. For example, GPT-5.4 is a specific model by OpenAI.
GenAI tools call AI models internally, but they perform coordination on which model to use, when to call it, and what information to send back and forth.

Figure 11.4: Schema of a GenAI tool calling the AI model
For example, ChatGPT itself is a GenAI tool. It keeps a conversation, is able to call the AI model multiple times, and calls the right tools.
AI libraries also have capabilities that allow more actions than purely calling the model. In that regard, they act as GenAI tools. We won't be using them in this chapter but will do so later in the book. See Chapter 15 for more information.
In this chapter we will focus on working directly...