Python Ai Intensive
Python Ai Intensive
Python Applications
Minal Pandey
1
Getting Started with
Generative AI
There are a plethora of options for building generative AI (GenAI) applications. The landscape is,
quite frankly, overwhelming to navigate, and many of the tools that satisfy one criterion may fall short
in another. GenAI applications evolve so quickly that within weeks of this book being published,
some of the new AI companies might no longer exist. Therefore, this chapter focuses on long-lived,
high- level concepts related to technologies that are used to create GenAI applications.
You will learn ways from which your next web development project might benefit. This chapter will
examine not just what these ways are but how they work, which will give you a broader
understanding
and perspective of GenAI. This should help you decide when to use GenAI and how, as well as make
the applications you create generally more accurate.
By the end of this chapter, you will have a good understanding of the benefits that individual AI/ML
stack components bring to a development project, how they relate to each other, and why GenAI
technologies are a revolution in software—both in terms of the data handled and desired
functionalities.
2 Getting Started with Generative AI
This chapter gives an introduction to GenAI and provides a quick overview of the following topics:
Technical requirements
This book has sample code for a basic Python application. To recreate it, it is recommended that you
have the following:
• Artificial intelligence (AI) refers to the ability of machines to perform tasks that would normally
require human intelligence. This includes tasks such as perception, reasoning, learning, and
decision making. The journey of AI has evolved significantly from early speculative ideas to
the sophisticated technologies of today. Figure 1.1 shows a timeline of the development of AI.