Skip to content

AzureOpenAI

Erik Olsson edited this page Dec 14, 2023 · 4 revisions

How to add an Azure OpenAI Deployment to Timon 🚀

Requirements

1 - A Subscription in Microsoft Azure

2 - Access to Azure OpenAI

To create an Azure OpenAI Instance you will need:

You might be required to fill out a form Take me to the form

(On question 19 - Choose GPT-4, then option 2 "Chatbot and conversational agent creation")

3 - Access to a PVA Premium License (Erik to the rescue)

Still interested? Let's go! ✅

Create Azure OpenAI Deployment

  1. Go to portal.azure.com and search for Azure OpenAI:

  1. Create a new Azure OpenAI Service:

  1. Hit Next, Next, Create:

  1. After successful deployment Go To Resource:

  1. In your new resource, click 'Model deployments' and click on 'Manage Deployments':

Now you've made it to Azure OpenAI Studio ☁️ !!!

  1. Create a new Deployment:

Choose one of the GPT models, in our Example GPT-3.5 is the latest (If you have 4.x, use it!) Give it a name - TimonAI might be a good fit!

  1. Ok, now, since we have the deployment, let's open it in the Playground - from there we will fetch some data! Get a pen and a sheet of paper to note some things!

  1. Click View Code in the Playground:

!! Now note the Endpoint and the Key displayed underneath the code. Store it somewhere, so we can use it later. (Loop, OneNote, Notepad, whatever...)

  1. Now open the Copilot Studio.

  2. Make sure, you're in the right Environment:

  1. From your Timon Copilot, open the Ai Topic,

  1. and Open the AI Flow in the topic:

  1. Edit the flow:

  1. Now find the Step: "Initialize variable API Key" and enter your API Key you noted in Step 8.

  1. Finally, add the URI to your Azure OpenAI Resource you noted in Step 8 to the Step 'HTTPPost' in the Flow (you can just replace the hostname, as marked in the screenshot)

  1. Save your Flow!

  1. Go back to your Copilot Studio (a Tab should still be open) and Publish your Copilot:

  1. CONGRATIULATIONS! YOU NOW ENABLED THE AI INTEGRATION WITH TIMON!!!!