Sending prompts to ChatGPT
Working with ChatGPT as an end user is pretty simple. So, how hard is it to do the same thing with Power Automate? The answer, it turns out, is that it isn’t that bad.
You have two main options for passing data to the OpenAI ChatGPT service itself: the built-in HTTP (Premium) connector or a third-party OpenAI connector. We’ll go through both options quickly, and you can adapt whichever you like to suit your purposes.
Both of the examples will be built as instant cloud flows with a simple text prompt. For both examples, you’ll need the OpenAI API key that you created in Chapter 2, Configuring an Environment to Support AI Services.
HTTP
The HTTP method is the more complex method of the two but also gives you the most flexibility.
Updated parameter information
Like all cloud services, OpenAI may change endpoints and other parameters without notice. You can get the most updated endpoints and parameters at https://platform...