14
Real-World AI Example
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 ...
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