Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Practical Generative AI with ChatGPT
  • Table Of Contents Toc
Practical Generative AI with ChatGPT

Practical Generative AI with ChatGPT - Second Edition

By : Valentina Alto
4 (1)
close
close
Practical Generative AI with ChatGPT

Practical Generative AI with ChatGPT

4 (1)
By: Valentina Alto

Overview of this book

Practical Generative AI with ChatGPT is your hands-on guide to unlocking the full potential of ChatGPT. From building AI assistants and mastering prompt engineering to analyzing documents and images and even generating code, this book equips you with the skills to integrate generative AI into your workflow. Written by a technical architect specializing in AI and intelligent applications, this book provides the tools and knowledge you need to streamline tasks, enhance productivity, and create intelligent solutions. You’ll learn how to craft precise prompts, leverage ChatGPT for daily efficiency, and develop custom AI assistants tailored to your needs. The chapters show you how to use ChatGPT’s multimodal capabilities to generate images with DALL·E and even transform images into code. This ChatGPT book goes beyond basic interactions by showing you how to design custom GPTs and integrate OpenAI’s APIs into your applications. You’ll explore how businesses use OpenAI models, from building AI applications, including semantic search, to creating an AI roadmap. Each chapter is packed with practical examples, ensuring you can apply the techniques right away. By the end of this book, you’ll be well equipped to leverage OpenAI's technology for competitive advantage.
Table of Contents (18 chapters)
close
close
Lock Free Chapter
1
Fundamentals of Generative AI and OpenAI
4
ChatGPT in Action
12
OpenAI for Enterprises
15
Other Books You May Enjoy
16
Index

Working with code on canvas

In Chapter 4, we mentioned the new ChatGPT canvas feature, which allows users to dynamically modify the model’s response in a collaborative workspace. However, when it comes to code development, this feature really shines.

In fact, it provides an environment for code development, execution, and debugging.

Let’s see an example. We will start with a simple query to ChatGPT:

Figure 5.23: Generating code with ChatGPT

As expected, ChatGPT was able to generate the required code. Now, if we click on the Edit icon, we will be able to access the canvas workspace, where we can:

  • Modify the code:

Figure 5.24: Modifying code with the canvas workspace

  • Run the code and see the results in a console:

Figure 5.25: Seamlessly testing and modifying code

This is a game-changer for software development; it means having the possibility to seamlessly test and execute code while interacting...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Practical Generative AI with ChatGPT
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon