Skip to content

Commit 45ba4a4

Browse files
committed
update
1 parent a66db59 commit 45ba4a4

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

articles/ai-services/openai/how-to/responses.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,6 +654,8 @@ print(response)
654654

655655
In this section, we provide a simple example script that integrates Azure OpenAI's `computer-use-preview` model with [Playwright](https://playwright.dev/) to automate basic browser interactions. Combining the model with [Playwright](https://playwright.dev/) allows the model to see the browser screen, make decisions, and perform actions like clicking, typing, and navigating websites. You should exercise caution when running this example code. This code is designed to be run locally but should only be executed in a test environment. Use a human to confirm decisions and don't give the model access to sensitive data.
656656

657+
![Computer-use-preview demo](../media/computer-use-preview.gif)
658+
657659
First you'll need to install the Python library for [Playwright](https://playwright.dev/).
658660

659661
```cmd
@@ -1110,7 +1112,7 @@ The main function:
11101112
### Complete script
11111113

11121114
> [!CAUTION]
1113-
> This code is experimental and for demonstration purposes only. It's only intended to illustrate the basic flow of the responses API and the `computer-use-preview` model. While you can execute this code on your local computer, we strongly recommend running this code on a low privilege virtual machine with no access to sensitive data. This code is for basic testing purposes only.
1115+
> This code is experimental and for demonstration purposes only. It's only intended to illustrate the basic flow of the responses API and the `computer-use-preview` model. While you can execute this code on your local computer, we strongly recommend running this code on a low privilege virtual machine with no access to sensitive data. This code is for basic testing purposes only.
11141116
11151117
```python
11161118
import os
10.5 MB
Loading

articles/ai-services/openai/whats-new.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ Request access: [`computer-use-preview` limited access model application](https:
3131

3232
For more information on model capabilities, and region availability see the [models documentation](./concepts/models.md#computer-use-preview).
3333

34+
![Computer-use-preview demo](../media/computer-use-preview.gif)
35+
36+
[Playwright integration demo code](./how-to/responses.md#computer-use).
37+
3438
### Provisioned spillover (preview)
3539

3640
Spillover manages traffic fluctuations on provisioned deployments by routing overages to a designated standard deployment. To learn more about how to maximize utilization for your provisioned deployments with spillover, see [Manage traffic with spillover for provisioned deployments (preview)](./how-to/spillover-traffic-management.md).

0 commit comments

Comments
 (0)