-
Book Overview & Buying
-
Table Of Contents
Python Automation Cookbook - Third Edition
By :
In this chapter, we will apply the GenAI concepts introduced in the previous chapters and combine them into a complete, automatable task that can help us every day.
We will rely on the definition and use of tools, as well as the ReAct architecture, to create a task that will analyze our emails, draft responses for actionable messages in a style consistent with our usual tone, and provide a summary of everything received in the past 24 hours.
For handling email, we will use a Gmail account. While the concepts are compatible with any IMAP and SMTP server, some folder names will follow Gmail conventions.
When developing the tools that we will use to communicate with email, we will take into account the limitations of each tool's scope, carefully managing the AI model's capabilities and implementing guardrails to ensure reliable results.
AI models are extremely powerful and capable of making informed guesses. With generalist tools like MCPs, they can...