Hi. I've created a Cloud Flow in Power Apps which processes some text but the output is messy - there are extra line breaks in some bits of the text and not others. I want to use something like GPT/CoPilot to 'Improve the formatting of the following text without changing the words or word order :'
The text is currently held in a string variable.
I added an AI Builder action for Create text with GPT using a prompt. It asks for a prompt and I've supplied a string which is my full prompt. It asks for Infer Request. I'm not sure what to put in there, though I've tried a few examples I found by searching online. All of them result in the flow exiting with an error which looks like an HTTP 400 error.
Can you help - either suggest a different function/action that can tidy up text formatting without changing the words. Or suggest what I should put in the Prompt or Infer Request box to enable the flow and action to complete correctly.