You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/communication-services/quickstarts/router/job-router-azure-openai-integration.md
+20-5Lines changed: 20 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -86,12 +86,12 @@ Workers are evaluated based on:
86
86
87
87
3. Once your Function App is created, right-click on your App and select 'Deploy Function App...'
88
88
4. Open the Azure portal and go to your Azure OpenAI resource, then go to Azure AI Studio. From here, navigate to the Deployments tab and select "+ Create new deployment"
89
-
- a. Select a model that can perform completions
89
+
1. Select a model that can perform completions
90
90
91
91
[Azure OpenAI Service models](../../../ai-services/openai/concepts/models.md)
92
-
- b. Give your model a Deployment name and select “Create”
92
+
1. b. Give your model a Deployment name and select “Create”
93
93
94
-
:::image type="content" source="./media/azure-openai-model-creation.png" alt-text="Screenshot of creating azure OpenAI model.":::
94
+
:::image type="content" source="./media/azure-openai-model-creation.png" alt-text="Screenshot of creating Azure OpenAI model.":::
95
95
96
96
5. Once your Azure OpenAI Model is created, copy down the 'Endpoint', 'Keys', and 'Region'
97
97
@@ -113,13 +113,28 @@ Workers are evaluated based on:
113
113
| DefaultAHT | 10:00 | Default AHT for workers missing this label |
114
114
115
115
116
-
7. On the Overview blade of your function app, copy the function URL. On the Functions --> Keys blade of your function app, copy the master or default key.
117
-
8. Navigate to your ACS resource and copy down your connection string.
116
+
7. Go to the Overview blade of your function app.
117
+
118
+
1. Select the newly created function.
119
+
120
+
:::image type="content" source="./media/azure-function-overview.png" alt-text="Screenshot of deployed function.":::
121
+
122
+
1. Select the "Get Function URL" button and copy down the URL.
123
+
124
+
:::image type="content" source="./media/get-function-url.png" alt-text="Screenshot of get function url.":::
125
+
126
+
8. Navigate to your Azure Communication Services resource, click on the "Keys" blade and copy down your Connection string.
118
127
9. Open the JR_AOAI_Integration Console application and open the `appsettings.json` file to update the following config settings.
119
128
129
+
> [!NOTE]
130
+
> The "AzureFunctionUri" will be the everything in the function url before the "?code=" and the "AzureFunctionKey" will everything after the the "?code=" in the function url.
131
+
120
132
:::image type="content" source="./media/appsettings-configuration.png" alt-text="Screenshot of AppSettings.":::
121
133
122
134
10. Run the application and follow the on-screen instructions to Create a Job.
135
+
- Once a job has been created the console application will let you know who scored the highest and has received the offer. To see the prompts sent to your OpenAI model and scores given to your workers and sent back to Job Router. Go to your Function and select the Monitor Tab and watch the logs as you are creating a job in the console application.
136
+
137
+
:::image type="content" source="./media/function-output.png" alt-text="Screenshot of Function Output.":::
0 commit comments