web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Apps - AI Builder
Answered

Create Text with GPT - can't show output??

(0) ShareShare
ReportReport
Posted on by

Hello everyone,

 

I had followed the steps on this link:
Use the text generation model in Power Apps (preview) | Microsoft Learn
.
.
I followed the same code given on that link which his 

 

Set(TextCompletionResult, 'Create text with GPT'.Predict(TextInput1.Text));

 

and followed the format...

lesty_0-1702366055960.png

but i can't show the output. it gives an error.
i followed the link where i just need to put TextCompletionResult on a text label but it gives me this error.

lesty_1-1702366137255.png

it said that it expects text value.

i need your help guys. thank you 

 

 

Categories:
I have the same question (0)
  • Verified answer
    plarrue Profile Picture
    Moderator on at
    Re: Create Text with GPT - can't show output??

    Hi @Anonymous 

     

    Thanks for reaching out.

    In your text label control, where you want to see the result.

    You can try with TextCompletionResult.Text

     

    Regards,

    Philippe

  • Community Power Platform Member Profile Picture
    on at
    Re: Create Text with GPT - can't show output??

    thank you so much!!!!!

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 663 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 398 Super User 2025 Season 2

#3
developerAJ Profile Picture

developerAJ 235

Last 30 days Overall leaderboard