Skip to main content

Notifications

Power Automate - AI Builder
Unanswered

StructuredOutput (JSON Output) missing on "Create Text with GPT"

(0) ShareShare
ReportReport
Posted on by 374
Does anyone know why the "structuredOutput" property (JSON Output) of the AI Builder "Create Text with GPT..." action doesn't always appear in the final output?  Is it a rate limite/throttling issue?
(I am just playing with it in a development environment, using trial licenses etc. if that's a factor).

Here's an example/more background:
I'm really enjoying the AI Builder for Power Automate connector, especially custom prompts with the "Create Text with GPT using a prompt" action.

I frequently use the JSON Output feature to structure the GPT output. 


This works wonderfully--when it works.  Frequently the "structuredOutput" property of the action's output is just missing--fortunately the JSON object is usually still there in string format in the "text" property.  My work around to avoid flow failures is to use a JSON() expression on the "text" output, and then I can either coalesce references to the properties, or coalesce the whole object into a compose or variable.   It'd be much easier and quicker to construct the flows if I could rely on the structured output always being there.

Here I have a prompt that extracts some data from records to help categorize them automatically.

Example of a Good run (has "structuredOutput" property):


Example of a frequent run missing the "structuredOutput" property:

  • rbtzn Profile Picture
    rbtzn 2 on at
    StructuredOutput (JSON Output) missing on "Create Text with GPT"
    Hello Mark,
     

    Same problem here. Depending on a different input, the result of the prompt is OK or not (i.e., I have structuredOuptut or not).
    opened an MS support ticket to try to solve the problem.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #9 Get Recognized…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,867

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,174

Leaderboard