Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Power Platform and the AI Revolution

You're reading from   Power Platform and the AI Revolution Explore modern AI services to develop apps, bots, and automation patterns to enhance customer experiences

Arrow left icon
Product type Paperback
Published in May 2024
Publisher Packt
ISBN-13 9781835086360
Length 356 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Aaron Guilmette Aaron Guilmette
Author Profile Icon Aaron Guilmette
Aaron Guilmette
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

Preface 1. Chapter 1: Introduction to AI Services FREE CHAPTER 2. Chapter 2: Configuring an Environment to Support AI Services 3. Chapter 3: Talking to ChatGPT 4. Chapter 4: Using ChatGPT and Copilot to Create Flows and Apps 5. Chapter 5: Bootstrapping a Power App with Copilot 6. Chapter 6: Processing Data with Sentiment Analysis 7. Chapter 7: Using Power Automate and AI to Build PowerPoint Presentations 8. Chapter 8: Building an Event Registration App with Identity Verification 9. Chapter 9: Implementing an AI-Enabled Resume Screener 10. Chapter 10: Crafting an Executive Summary with GPT 11. Chapter 11: Using AI to Tag Images in a SharePoint Library 12. Chapter 12: Creating a Generative AI-Based Bot 13. Chapter 13: Publishing a Generative AI-based Bot 14. Index 15. Other Books You May Enjoy

Retrieving data from ChatGPT

When you were reviewing the output from your test flows, you probably noticed that ChatGPT’s answers (or responses) were structured in a particular way:

Figure 3.20 – ChatGPT response data

Figure 3.20 – ChatGPT response data

The structure, which is JavaScript Object Notation (JSON) here, is a standardized format that stores objects in a name:value pair structure or notation.

So, what exactly is JSON?

Let’s take a look at a few fields in our example:

"body": {
        "object": "text_completion",
        "model": "gpt-3.5-turbo",
        "choices": [
            {
                "text": "\n\n1. Flour...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime