04-13-2023 10:50 AM
ChatGPT is a revolutionary Artificial Intelligence (AI) technology that has the power to change the way we work. Now that Microsoft has invested heavily in OpenAI, it’s only a matter of time before their capabilities are built into the Microsoft 365 and Azure platforms. By using Power Automate to integrate that technology into Microsoft Teams, you can effortlessly access those AI capabilities directly from a Teams channel now without having to wait for Microsoft. You will only need one OpenAI account in order for everyone in that channel to use ChatGPT from within Teams. Anyone with access to that channel can simply post a question to ChatGPT, and an automated cloud flow will trigger. The flow will get the message details from the user and pass the question, as a variable, to an HTTP POST request to ChatGPT. Once the request returns the answer response from that site, it is used as a variable to reply to the user who asked it in the thread where it was asked.
https://fortechsupport.com/blog/learn-how-to-add-chatgpt-to-microsoft-teams/
Please let me know what you think.
watch?v=U00hiV1I_S0
This is helpful! I did get the Microsoft version working which requires some additional steps with authentication and permissions. I may have found a solution for the replies and would like your opinion on it. I'll send you a private message with the details of both. Thanks!
To use the flow bot option, you must first add the bot to your Team.
Go to your Team, then Manage Team, click the Apps tab, install Power Automate, click the drop down next to Open and click Create a bot.
After you've created your bot in your Team, you should be able to use that flow bot option in Power Automate.
To continue the conversation like ChatGPT, there hasn't been a way I've discovered yet. You can pre-write a conversation using the gpt-3.5-turbo model covered in my other video.
Use the OpenAI playground to get the answer you're looking for then use that as a template when creating the conversation in your flow. You will be able to select between System, User, and Assistant. Also, you could just add the URLs for ChatGPT and the Playground to tabs in Teams using the Website option.
I currently just use the free version of OpenAI, but if I ever get a chance to test out that Microsoft version, I'll be sure to create some content to add to my blog.
This and your other video are both excellent!I have a few questions re: usability:
Thanks so much for posting!
In my case, when I clicked on it (HTTP "PREMIUM"), it presented me with the properties shown in the video and I was able to continue.
I also see HTTP options listed as premium features. Is this something you must purchase?
Haha. Yeah. I realized that soon after posting the video. I should've tested it out a bit first.
Side note: If you don't want to go the API route, you can add either (or both) of the following URLs to tabs in Teams using the Website option. You'll be prompted to log in with your OpenAI credentials the first time, then you can use them like you would in a web browser.
I was able to get everything to work. The only thing I might add is that you may want to set the keyword to something different than just "ChatGPT" since it will often include "ChatGPT" in its responses. For example, try asking "ChatGPT can you harm humans?" and it will inundate you with nearly identical messages. You might want to make the keyword "hi ChatGPT" maybe to avoid this.
No problem. Glad I could help.
And thank you for watching my video!
I see Automated Cloud Flow when navigating to the government-specific URL for Power Automate (https://make.gov.powerautomate.us/. Initially, I was accessing Power Automate via Teams App. Thank you for your reply/guidance!!
I dont have a government tenant, so I cannot confirm why you don't see Automated Cloud Flow.
What options do you see in your tenant?
Are you using the government-specific URL for Power Automate (https://make.gov.powerautomate.us/)?
Also, you can ask your Administrator if it is disabled in your tenant for some reason.