Skip to content

Commit 453c5d8

Browse files
committed
add images
1 parent 46c41b6 commit 453c5d8

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

articles/web-application-firewall/afds/protect-azure-open-ai.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ First, create an OpenAI instance.
3030

3131
Open the Azure OpenAI studio and open the **Chat** option under **Playground**.
3232
Use the **View code** option to display the endpoint and the API key.
33-
:::image type="content" source="../media/protect-azure-open-ai/view-code.png" alt-text="Screenshot showing Azure AI Studio Chat playground.":::
33+
:::image type="content" source="../media/protect-azure-open-ai/view-code.png" alt-text="Screenshot showing Azure AI Studio Chat playground." lightbox="../media/protect-azure-open-ai/view-code.png":::
3434
<br>
3535

3636
:::image type="content" source="../media/protect-azure-open-ai/sample-code.png" alt-text="Screenshot showing Azure OpenAI sample code with Endpoint and Key.":::
@@ -51,9 +51,9 @@ First, create an OpenAI instance.
5151
}
5252

5353
```
54-
:::image type="content" source="../media/protect-azure-open-ai/postman-body.png" alt-text="Screenshot showing the post body.":::
54+
:::image type="content" source="../media/protect-azure-open-ai/postman-body.png" alt-text="Screenshot showing the post body." lightbox="../media/protect-azure-open-ai/postman-body.png":::
5555
1. In response to the POST, you should receive a *200 OK*:
56-
:::image type="content" source="../media/protect-azure-open-ai/post-200-ok.jpg" alt-text="Screenshot showing the POST 200 OK.":::
56+
:::image type="content" source="../media/protect-azure-open-ai/post-200-ok.png" alt-text="Screenshot showing the POST 200 OK." lightbox="../media/protect-azure-open-ai/post-200-ok.png":::
5757

5858
The Azure OpenAI also generates a response using the GPT model.
5959

@@ -73,15 +73,15 @@ Now use the Azure portal to create an Azure Front Door instance with Azure WAF.
7373

7474
Enable the WAF policy in prevention mode and ensure **Microsoft_DefaultRuleSet_2.1** and **Microsoft_BotManagerRuleSet_1.0** are enabled.
7575

76-
:::image type="content" source="../media/protect-azure-open-ai/waf-policy.png" alt-text="Screenshot showing a WAF policy.":::
76+
:::image type="content" source="../media/protect-azure-open-ai/waf-policy.png" alt-text="Screenshot showing a WAF policy." lightbox="../media/protect-azure-open-ai/waf-policy.png":::
7777

7878
## Verify access to Azure OpenAI via Azure Front Door endpoint
7979

8080
Now verify your Azure Front Door endpoint.
8181

8282
1. Retrieve the Azure Front Door endpoint from the Front Door Manager.
8383

84-
:::image type="content" source="../media/protect-azure-open-ai/front-door-endpoint.png" alt-text="Screenshot show the Azure Front Door endpoint.":::
84+
:::image type="content" source="../media/protect-azure-open-ai/front-door-endpoint.png" alt-text="Screenshot show the Azure Front Door endpoint." lightbox="../media/protect-azure-open-ai/front-door-endpoint.png":::
8585
2. Use Postman to send a POST request to the Azure Front Door endpoint.
8686
1. Replace the Azure OpenAI endpoint with the AFD endpoint in Postman POST request.
8787
:::image type="content" source="../media/protect-azure-open-ai/test-final.png" alt-text="Screenshot showing the final POST." lightbox="../media/protect-azure-open-ai/test-final.png":::
Binary file not shown.
98.5 KB
Loading
-50.3 KB
Loading

0 commit comments

Comments
 (0)