Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Generative AI for Cloud Solutions
Generative AI for Cloud Solutions

Generative AI for Cloud Solutions: Architect modern AI LLMs in secure, scalable, and ethical cloud environments

Arrow left icon
Profile Icon Paul Singh Profile Icon Anurag Karuparti
Arrow right icon
Free Trial
Full star icon Full star icon Full star icon Full star icon Half star icon 4.9 (9 Ratings)
Paperback Apr 2024 300 pages 1st Edition
eBook
Mex$516.99 Mex$738.99
Paperback
Mex$645.99 Mex$922.99
Subscription
Free Trial
Arrow left icon
Profile Icon Paul Singh Profile Icon Anurag Karuparti
Arrow right icon
Free Trial
Full star icon Full star icon Full star icon Full star icon Half star icon 4.9 (9 Ratings)
Paperback Apr 2024 300 pages 1st Edition
eBook
Mex$516.99 Mex$738.99
Paperback
Mex$645.99 Mex$922.99
Subscription
Free Trial
eBook
Mex$516.99 Mex$738.99
Paperback
Mex$645.99 Mex$922.99
Subscription
Free Trial

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing
Table of content icon View table of contents Preview book icon Preview Book

Generative AI for Cloud Solutions

Cloud Computing Meets Generative AI: Bridging Infinite Impossibilities

During the last few decades, we have seen unprecedented progress in the world of artificial intelligence (AI) and machine learning (ML) due to the rise of computing, especially cloud computing, and the massive influx of data from the digital revolution. In 2022, the subset of AI known as generative AI emerged as a significant turning point. We have surpassed an inflection point in AI and we believe this will boost incredible productivity and growth in society in the coming years. This is the field of conversational AI powered by large language models (LLMs), a fascinating paradigm where computers learn and generate human-like text, images, audio, and video, engaging with us in increasingly interactive and intelligent ways. The transformative potential of LLMs, epitomized by models, such as OpenAI’s GPT-based ChatGPT, marks a major shift in how we interact with technology. Generative AI models now have improved...

Evolution of conversation AI

Understanding the evolution of conversational AI is crucial for learning generative AI as it provides foundational knowledge and context. This historical perspective reveals how AI technologies have progressed from simple, rule-based systems to complex machine learning and deep learning models that are core to both conversational and generative AI.

This section explores the evolution of conversational AI, culminating in an in-depth look at LLMs, the technological backbone of contemporary chatbots.

What is conversational AI?

Conversational AI refers to technologies that enable machines to engage in human-like dialogue, comprehend complex commands, and respond intelligently. This is achieved through machine learning and natural language processing capabilities, enabling the system to learn, understand, and improve over time. The following figure demonstrates one such conversation:

Figure 1.1 – Conversations with Alexa

Figure 1.1 – Conversations with...

Introduction to generative AI

Generative AI refers to a field of AI (as stated in the preceding figure) that focuses on creating or generating new content, such as images, text, music, video, code, 3D objects, or synthetic data that is not directly copied or replicated from existing data. It involves training deep learning models to understand patterns and relationships within a given dataset and then using that knowledge to generate novel and unique content. The following is a visualization of what generative AI is:

Figure 1.3 – What is generative AI?

Figure 1.3 – What is generative AI?

It is a broad field whose primary function is to generate novel content. Examples of generative AI models include image generation models such as DALL-E and MidJourney, text generation models such as GPT-4, PaLM, and Claude, code generation models such as Codex, audio generation tools such as MusicLM, and video generation models such as SORA.

The rise of generative AI in 2022-23

Generative AI...

Trending models, tasks, and business applications

Generative AI has a wide range of applications across various industries, presenting several use cases that can bring significant benefits to businesses, and the applications are continuing to grow at a fast pace. In this section, we will discuss popular tasks and models and examine the latest emerging business applications that have gained significant traction recently.

Let’s begin with text generation models.

Text

Text generation models can be used for diverse tasks as outlined here. In the following, we have mentioned the most popular tasks that we have seen architecting solutions with our customers:

  • Summarization: They can condense long documents, such as textbook chapters or detailed product descriptions, into concise summaries while retaining the key information.
  • Question answering: These models can provide accurate answers to questions, which is particularly useful in automating the creation of FAQ...

Cloud computing for scalability, cost optimization, and security

Cloud computing has been instrumental in bringing LLMs to a wider audience. LLMs use large-scale GPU processing to learn and generate human-like text, image, audio, and video, engaging in increasingly interactive and intelligent ways.

This section highlights several advantages of leveraging LLMs in a cloud environment:

  • Scalability: Cloud computing enables users to access high-performance computing such as GPUs as necessary to run LLMs. This makes it easy to scale applications as required based on consumption needs.

    Since LLM models such as GPT are heavy API-driven workloads, there is a need for API management services, such as Azure APIM, that help achieve scalability, security, and high availability across regions. They can also capture telemetry that can help determine token usage and error logging across organizations. We discuss scaling strategies on Azure in Chapter 7.

  • Affordability: There is no need...

From vision to value – navigating the journey to production

Developing an idea and moving it into production is a multi-phase process that typically involves ideation, validation, development, testing, and deployment. The multi-phase process of developing an idea and moving it into production is crucial because it methodically transforms a concept into a viable product.

Take a look at the following image about overlooking a crucial aspect:

Figure 1.8 – Two entrepreneurs engaging in a humorous discussion about overlooking expenses

Figure 1.8 – Two entrepreneurs engaging in a humorous discussion about overlooking expenses

The above image satirically showcases how some organizations claim to build AI from scratch, when in reality, they're just utilizing API calls to services like OpenAI. It humorously uncovers this exaggeration when asked about the Open AI bills, mocking the notion of starting from scratch.

Each phase serves a distinct purpose: ideation fosters innovation, validation ensures market demand and feasibility...

Summary

The aim of this introductory chapter was to highlight the history, core concepts, and other essential information necessary for readers to develop an end-to-end generative AI solution on the cloud. We have explored the evolution of chatbots from simple rule-based systems to multimodal, context-aware, and action-oriented agentic LLMs. We delved into the rise of generative AI, focusing on LLMs and foundation models as well as their relationship and key attributes. The differences between open source and closed source models were examined, alongside trending business applications drawn from our experiences. In the rapidly evolving landscape of AI, we’ve examined a few leading models, including text, image, audio, and video generation. These models represent the forefront of AI technology, showcasing remarkable capabilities in creating high-quality, lifelike content. We then highlighted how cloud computing facilitates the development of secure, scalable, cost-efficient,...

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Gain foundational GenAI knowledge and understand how to scale GenAI/ChatGPT in the cloud
  • Understand advanced techniques for customizing LLMs for organizations via fine-tuning, prompt engineering, and responsible AI
  • Peek into the future to explore emerging trends like multimodal AI and autonomous agents
  • Purchase of the print or Kindle book includes a free PDF eBook

Description

Generative artificial intelligence technologies and services, including ChatGPT, are transforming our work, life, and communication landscapes. To thrive in this new era, harnessing the full potential of these technologies is crucial. Generative AI for Cloud Solutions is a comprehensive guide to understanding and using Generative AI within cloud platforms. This book covers the basics of cloud computing and Generative AI/ChatGPT, addressing scaling strategies and security concerns. With its help, you’ll be able to apply responsible AI practices and other methods such as fine-tuning, RAG, autonomous agents, LLMOps, and Assistants APIs. As you progress, you’ll learn how to design and implement secure and scalable ChatGPT solutions on the cloud, while also gaining insights into the foundations of building conversational AI, such as chatbots. This process will help you customize your AI applications to suit your specific requirements. By the end of this book, you’ll have gained a solid understanding of the capabilities of Generative AI and cloud computing, empowering you to develop efficient and ethical AI solutions for a variety of applications and services.

Who is this book for?

This artificial intelligence book is for aspiring cloud architects, data analysts, cloud developers, data scientists, AI researchers, technical business leaders, and technology evangelists looking to understanding the interplay between GenAI and cloud computing. Some chapters provide a broad overview of GenAI, which are suitable for readers with basic to no prior AI experience, aspiring to harness AI's potential. Other chapters delve into technical concepts that require intermediate data and AI skills. A basic understanding of a cloud ecosystem is required to get the most out of this book.

What you will learn

  • Get started with the essentials of generative AI, LLMs, and ChatGPT, and understand how they function together
  • Understand how we started applying NLP to concepts like transformers
  • Grasp the process of fine-tuning and developing apps based on RAG
  • Explore effective prompt engineering strategies
  • Acquire insights into the app development frameworks and lifecycles of LLMs, including important aspects of LLMOps, autonomous agents, and Assistants APIs
  • Discover how to scale and secure GenAI systems, while understanding the principles of responsible AI

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Apr 22, 2024
Length: 300 pages
Edition : 1st
Language : English
ISBN-13 : 9781835084786
Category :
Languages :
Concepts :
Tools :

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing

Product Details

Publication date : Apr 22, 2024
Length: 300 pages
Edition : 1st
Language : English
ISBN-13 : 9781835084786
Category :
Languages :
Concepts :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just Mex$85 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just Mex$85 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total Mex$ 2,009.97 2,871.97 862.00 saved
Building Data-Driven Applications with LlamaIndex
Mex$645.99 Mex$922.99
Building LLM Powered  Applications
Mex$717.99 Mex$1025.99
Generative AI for Cloud Solutions
Mex$645.99 Mex$922.99
Total Mex$ 2,009.97 2,871.97 862.00 saved Stars icon
Banner background image

Table of Contents

17 Chapters
Part 1:Integrating Cloud Power with Language Breakthroughs Chevron down icon Chevron up icon
Chapter 1: Cloud Computing Meets Generative AI: Bridging Infinite Impossibilities Chevron down icon Chevron up icon
Chapter 2: NLP Evolution and Transformers: Exploring NLPs and LLMs Chevron down icon Chevron up icon
Part 2: Techniques for Tailoring LLMs Chevron down icon Chevron up icon
Chapter 3: Fine-Tuning – Building Domain-Specific LLM Applications Chevron down icon Chevron up icon
Chapter 4: RAGs to Riches: Elevating AI with External Data Chevron down icon Chevron up icon
Chapter 5: Effective Prompt Engineering Techniques: Unlocking Wisdom Through AI Chevron down icon Chevron up icon
Part 3: Developing, Operationalizing, and Scaling Generative AI Applications Chevron down icon Chevron up icon
Chapter 6: Developing and Operationalizing LLM-based Apps: Exploring Dev Frameworks and LLMOps Chevron down icon Chevron up icon
Chapter 7: Deploying ChatGPT in the Cloud: Architecture Design and Scaling Strategies Chevron down icon Chevron up icon
Part 4: Building Safe and Secure AI – Security and Ethical Considerations Chevron down icon Chevron up icon
Chapter 8: Security and Privacy Considerations for Gen AI – Building Safe and Secure LLMs Chevron down icon Chevron up icon
Chapter 9: Responsible Development of AI Solutions: Building with Integrity and Care Chevron down icon Chevron up icon
Part 5: Generative AI – What’s Next? Chevron down icon Chevron up icon
Chapter 10: The Future of Generative AI – Trends and Emerging Use Cases Chevron down icon Chevron up icon
Index Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.9
(9 Ratings)
5 star 88.9%
4 star 11.1%
3 star 0%
2 star 0%
1 star 0%
Filter icon Filter
Top Reviews

Filter reviews by




Subhasish Ghosh Aug 27, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Just finished perusing "𝑮𝒆𝒏𝒆𝒓𝒂𝒕𝒊𝒗𝒆 𝑨𝑰 𝒇𝒐𝒓 𝑪𝒍𝒐𝒖𝒅 𝑺𝒐𝒍𝒖𝒕𝒊𝒐𝒏𝒔: 𝑨𝒓𝒄𝒉𝒊𝒕𝒆𝒄𝒕 𝒎𝒐𝒅𝒆𝒓𝒏 𝑨𝑰 𝑳𝑳𝑴𝒔 𝒊𝒏 𝒔𝒆𝒄𝒖𝒓𝒆, 𝒔𝒄𝒂𝒍𝒂𝒃𝒍𝒆, 𝒂𝒏𝒅 𝒆𝒕𝒉𝒊𝒄𝒂𝒍 𝒄𝒍𝒐𝒖𝒅 𝒆𝒏𝒗𝒊𝒓𝒐𝒏𝒎𝒆𝒏𝒕𝒔", authored by my Microsoft colleagues, Paul S. & Anurag Karuparti, Packt Publications. An excellent read, this is a nicely detailed book for those looking to start your journey into Generative AI.𝐓𝐚𝐫𝐠𝐞𝐭 𝐚𝐮𝐝𝐢𝐞𝐧𝐜𝐞: Aspiring Cloud Architects, Data Analysts, Cloud Dev, Data Scientists, AI Researchers, Tech Business Leaders, and Tech Evangelists.✅ What this book is: Broad high-level overview of GenAI❎ What this book is not: This is not a technical deep dive into Algorithms, Transformer Model variants or Code for LLMs/LMMs/SLMs etc.5 things that makes this book a good read:1️⃣ Get started with the essentials of generative AI, LLMs, and ChatGPT, and understand how they function together.2️⃣ Understand how we started applying NLP to concepts like transformers. Grasp the process of fine-tuning and developing apps based on RAG.3️⃣ Explore effective prompt engineering strategies. Acquire insights into the app development frameworks and lifecycles of LLMs, including important aspects of LLMOps, autonomous agents, and Assistants APIs.4️⃣ Discover how to scale and secure GenAI systems, while understanding the principles of responsible AI.5️⃣ Loved the chapters #4 & #5, which focuses on Retrieval-Augmented Generation (RAG), Vector DB essentials, role it plays in RAG, chunking strategies, KNNs versus ANNs, Azure Prompt Flow, Essential Prompt Engineering techniques and more. These 2 chapters are excellent for those looking to get a solid grasp on both the theoretical and conceptual aspects & practical aspects of RAG & Prompt Engineering.Overall, highly recommended book.
Amazon Verified review Amazon
Steven Fernandes May 07, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
An indispensable guide for anyone venturing into the world of generative AI and large language models (LLMs). This book offers a comprehensive exploration, from the basic concepts of natural language processing (NLP) and transformers to the nuanced details of fine-tuning and application development using retrieval-augmented generation (RAG). It includes in-depth discussions on prompt engineering, application frameworks, and the lifecycle of LLMs, along with crucial considerations in LLMOps, autonomous agents, and Assistants APIs. Additionally, the book provides practical advice on scaling and securing GenAI systems and emphasizes the principles of responsible AI. A thorough and enlightening read for both novices and experienced practitioners in the field.
Amazon Verified review Amazon
homePC Jun 10, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I did not set a high expectation when I started reading, but it was extremely good. I like the approach and the concise way of explaining complicated topics in an easy-to-understand way.
Amazon Verified review Amazon
Om S Jun 14, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book is a brilliant introduction to the integration of cloud computing with generative AI. The chapter 'Cloud Computing Meets Generative AI: Bridging Infinite Impossibilities' really expanded my understanding of the potential in combining these technologies. I found 'NLP Evolution and Transformers' very enlightening, particularly for its deep dive into how NLPs and LLMs are evolving. The 'Fine Tuning' chapter provided practical insights into tailoring AI applications to specific domains. 'RAGs to Riches' introduced an innovative approach to leveraging external data in AI models. The strategies shared in 'Effective Prompt Engineering Strategies' are essential for anyone looking to refine AI outputs. 'Developing and Operationalizing LLM-Based Cloud Applications' was a great guide on the lifecycle of AI apps. The security chapter addressed crucial considerations needed to protect AI systems. 'Responsible Development of AI Solutions' emphasized ethical practices which are vital in AI development. Lastly, 'Future of Generative AI' offered an exciting peek into what the next era of AI might hold.
Amazon Verified review Amazon
Jose Arias May 16, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This is a very good and clear book that has helped me understand the fundamentals of generative ai. I love how it starts from scratch and builds up going through all the components.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is included in a Packt subscription? Chevron down icon Chevron up icon

A subscription provides you with full access to view all Packt and licnesed content online, this includes exclusive access to Early Access titles. Depending on the tier chosen you can also earn credits and discounts to use for owning content

How can I cancel my subscription? Chevron down icon Chevron up icon

To cancel your subscription with us simply go to the account page - found in the top right of the page or at https://subscription.packtpub.com/my-account/subscription - From here you will see the ‘cancel subscription’ button in the grey box with your subscription information in.

What are credits? Chevron down icon Chevron up icon

Credits can be earned from reading 40 section of any title within the payment cycle - a month starting from the day of subscription payment. You also earn a Credit every month if you subscribe to our annual or 18 month plans. Credits can be used to buy books DRM free, the same way that you would pay for a book. Your credits can be found in the subscription homepage - subscription.packtpub.com - clicking on ‘the my’ library dropdown and selecting ‘credits’.

What happens if an Early Access Course is cancelled? Chevron down icon Chevron up icon

Projects are rarely cancelled, but sometimes it's unavoidable. If an Early Access course is cancelled or excessively delayed, you can exchange your purchase for another course. For further details, please contact us here.

Where can I send feedback about an Early Access title? Chevron down icon Chevron up icon

If you have any feedback about the product you're reading, or Early Access in general, then please fill out a contact form here and we'll make sure the feedback gets to the right team. 

Can I download the code files for Early Access titles? Chevron down icon Chevron up icon

We try to ensure that all books in Early Access have code available to use, download, and fork on GitHub. This helps us be more agile in the development of the book, and helps keep the often changing code base of new versions and new technologies as up to date as possible. Unfortunately, however, there will be rare cases when it is not possible for us to have downloadable code samples available until publication.

When we publish the book, the code files will also be available to download from the Packt website.

How accurate is the publication date? Chevron down icon Chevron up icon

The publication date is as accurate as we can be at any point in the project. Unfortunately, delays can happen. Often those delays are out of our control, such as changes to the technology code base or delays in the tech release. We do our best to give you an accurate estimate of the publication date at any given time, and as more chapters are delivered, the more accurate the delivery date will become.

How will I know when new chapters are ready? Chevron down icon Chevron up icon

We'll let you know every time there has been an update to a course that you've bought in Early Access. You'll get an email to let you know there has been a new chapter, or a change to a previous chapter. The new chapters are automatically added to your account, so you can also check back there any time you're ready and download or read them online.

I am a Packt subscriber, do I get Early Access? Chevron down icon Chevron up icon

Yes, all Early Access content is fully available through your subscription. You will need to have a paid for or active trial subscription in order to access all titles.

How is Early Access delivered? Chevron down icon Chevron up icon

Early Access is currently only available as a PDF or through our online reader. As we make changes or add new chapters, the files in your Packt account will be updated so you can download them again or view them online immediately.

How do I buy Early Access content? Chevron down icon Chevron up icon

Early Access is a way of us getting our content to you quicker, but the method of buying the Early Access course is still the same. Just find the course you want to buy, go through the check-out steps, and you’ll get a confirmation email from us with information and a link to the relevant Early Access courses.

What is Early Access? Chevron down icon Chevron up icon

Keeping up to date with the latest technology is difficult; new versions, new frameworks, new techniques. This feature gives you a head-start to our content, as it's being created. With Early Access you'll receive each chapter as it's written, and get regular updates throughout the product's development, as well as the final course as soon as it's ready.We created Early Access as a means of giving you the information you need, as soon as it's available. As we go through the process of developing a course, 99% of it can be ready but we can't publish until that last 1% falls in to place. Early Access helps to unlock the potential of our content early, to help you start your learning when you need it most. You not only get access to every chapter as it's delivered, edited, and updated, but you'll also get the finalized, DRM-free product to download in any format you want when it's published. As a member of Packt, you'll also be eligible for our exclusive offers, including a free course every day, and discounts on new and popular titles.