Skip to content

Commit f1f580d

Browse files
Merge pull request #270310 from NathanJBennett/main
Updating pictures and steps to monitor execution of Quickstart
2 parents cc9869e + ca97f0d commit f1f580d

File tree

4 files changed

+20
-5
lines changed

4 files changed

+20
-5
lines changed

articles/communication-services/quickstarts/router/job-router-azure-openai-integration.md

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,12 @@ Workers are evaluated based on:
8686

8787
3. Once your Function App is created, right-click on your App and select 'Deploy Function App...'
8888
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
9090

9191
[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”
9393

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.":::
9595

9696
5. Once your Azure OpenAI Model is created, copy down the 'Endpoint', 'Keys', and 'Region'
9797

@@ -113,13 +113,28 @@ Workers are evaluated based on:
113113
| DefaultAHT | 10:00 | Default AHT for workers missing this label |
114114

115115

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.
118127
9. Open the JR_AOAI_Integration Console application and open the `appsettings.json` file to update the following config settings.
119128

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+
120132
:::image type="content" source="./media/appsettings-configuration.png" alt-text="Screenshot of AppSettings.":::
121133

122134
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.":::
123138

124139
## Experimentation
125140

7.14 KB
Loading
110 KB
Loading
16.7 KB
Loading

0 commit comments

Comments
 (0)