Skip to content

Commit 5606217

Browse files
authored
Merge pull request #1853 from MicrosoftDocs/repo_sync_working_branch
Confirm merge from repo_sync_working_branch to main to sync with https://github.com/MicrosoftDocs/azure-ai-docs (branch main)
2 parents c78d656 + 4fbb962 commit 5606217

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

articles/ai-studio/how-to/develop/simulator-interaction-data.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ You can generate query response pairs from a text blob like the following Wikipe
5454

5555
```python
5656
import asyncio
57-
from simulator import Simulator
5857
from azure.identity import DefaultAzureCredential
5958
import wikipedia
6059
import os
@@ -161,7 +160,11 @@ The callback function above processes each message generated by the simulator.
161160
With the simulator initialized, you can now run it to generate synthetic conversations based on the provided text.
162161

163162
```python
164-
simulator = Simulator(azure_ai_project=azure_ai_project)
163+
model_config = {
164+
"azure_endpoint": "<your_azure_endpoint>",
165+
"azure_deployment": "<deployment_name>"
166+
}
167+
simulator = Simulator(model_config=model_config)
165168

166169
outputs = await simulator(
167170
target=callback,

0 commit comments

Comments
 (0)