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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Apps
Answered

Power Apps

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Set(varResponse,ChatGPTConnector.ChatAPI("gpt-3.5-turbo",Collect(colChat,{role : "user", content : TextInput1.Text})));
Collect(colChat,First(varResponse.choices).message);
Reset(TextInput1) This is my formula for onselect Propertty of My Icon . This formula take too much time to run around 8245 ms .I Have to Optimize this Formula So Please Provide me Solution

Perfomance.png
Categories:
I have the same question (0)
  • ANB Profile Picture
    7,252 Super User 2026 Season 1 on at

    Hi @Anonymous, It seems you have created a custom connector for Open AI? If yes, can you confirm whether are you using Open AI API or Azure Open AI API key? Check the difference here.

    Also, have you tested this connector in Postman to check the performance? Also which API ENDPOINT you are using for this connector?

     

    -----------------------------------------------------------------------------------------------------------------------------

    I hope this helps.

    Please click Accept as solution ✅ if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs up.👍

    Thanks,
    ANB


  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I am using Open AI API. No I don't tested Connector in Postman to Check Performance. I am Using this https://api.openai.com/v1/chat/completions 

  • Verified answer
    ANB Profile Picture
    7,252 Super User 2026 Season 1 on at

    @Anonymous I have also created similar custom connector using different end points like Audio, Chat and chat/completions and for free API, the performance is the issue. If you are looking to build for production purpose, then I would suggest to go with paid API, it could be any Open AI or Azure Open AI. That will give better performance.

     

    -----------------------------------------------------------------------------------------------------------------------------

    I hope this helps.

    Please click Accept as solution ✅ if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs up.👍

    Thanks,
    ANB


  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Used API is Already Paid Still the Performance issue Come

     

  • ANB Profile Picture
    7,252 Super User 2026 Season 1 on at

    @Anonymous : Check Reza's video: https://www.youtube.com/watch?v=F3OpKuy8wB8

     

    For the performance, you might have to test in postman and play around the response or also raise query on Open AI community.

     

    Thanks,

    ANB

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 404

#2
timl Profile Picture

timl 344 Super User 2026 Season 1

#3
WarrenBelz Profile Picture

WarrenBelz 320 Most Valuable Professional

Last 30 days Overall leaderboard