0% found this document useful (0 votes)
25 views3 pages

Python Ai Intensive

This chapter provides an introduction to generative AI (GenAI) applications, focusing on high-level concepts and technologies involved in their creation. It covers essential topics such as definitions, the GenAI stack, Python integration, and the OpenAI API, along with ethical considerations. By the end, readers will understand the benefits of AI/ML components and their impact on software development.

Uploaded by

abebeyonas88
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views3 pages

Python Ai Intensive

This chapter provides an introduction to generative AI (GenAI) applications, focusing on high-level concepts and technologies involved in their creation. It covers essential topics such as definitions, the GenAI stack, Python integration, and the OpenAI API, along with ethical considerations. By the end, readers will understand the benefits of AI/ML components and their impact on software development.

Uploaded by

abebeyonas88
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

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:

• Definitions for common terminology


• A GenAI stack of choice
• Python and GenAI
• The OpenAI API
• An introduction to MongoDB Vector Search
• Important features of GenAI
• Why use GenAI?
• The ethics and risks of GenAI

Technical requirements
This book has sample code for a basic Python application. To recreate it, it is recommended that you
have the following:

• The latest version of Python


• A local development environment on your device for your application server
• A MongoDB Atlas cloud account to host your database. You can register for one at https://
www.mongodb.com/cloud/atlas/register

• VS Code or an IDE of your choice


• An OpenAI API key

Defining the terminology


For the true beginner, let’s start with defining some key terms: AI, ML, and GenAI. You will come across
these terms repeatedly in this book, so it helps to have a strong conceptual foundation of these terms:

• 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.

You might also like