I was working on a project recently where we were using the Azure OpenAI service
quite heavily. As part of creating the DevOps pipelines for the project, we had
to look into automating the management of the Azure OpenAI service. Turns
out this functionality is possible with the Azure CLI however it is available under
the Cognitive Services module which can be a bit tricky to find. So here
is a quick blog post detailing some of the more frequently used operations for the Azure OpenAI service through
the Azure CLI:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The new Microsoft Teams Desktop client was made generally available for
Windows and Mac recently. The good news is that the new client provides
feature parity for 3rd party apps like Focusworks AI giving customers a choice
of using their preferred Teams client to access the apps.
However, if you have a custom built Microsoft Teams tab or a task module as
part of your solution, and find that it fails to load in the new Microsoft
Teams client, there might be a specific reason for it.
And since there is no way to invoke the Developer tools in the new Teams
desktop client yet (November 2023), the experience can get a bit
frustrating.
In my case, I have a custom React/TypeScript based tab which is using
the @microsoft/teams-js library to interact with Teams.
Since teams tabs are just HTML pages, we need to make sure that the page is
being loaded inside Teams before continuing to execute the code. To do that we
can use the context.app.host.name property and check that the value was
"teams" before moving ahead.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
So changing my code to include the new value as well worked!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters