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/ai-foundry/how-to/develop/simulator-interaction-data.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -184,7 +184,7 @@ The `query_response_generating_prompty_override` parameter allows you to customi
184
184
185
185
```python
186
186
current_dir = os.path.dirname(__file__)
187
-
query_response_prompty_override = os.path.join(current_dir, "query_generator_long_answer.prompty") # Passes the `query_response_generating_prompty` parameter with the path to the custom prompt template.
187
+
query_response_prompty_override = os.path.join(current_dir, "query_generator_long_answer.prompty") # Passes the query_response_generating_prompty parameter with the path to the custom prompt template.
188
188
189
189
tasks = [
190
190
f"I am a student and I want to learn more about {wiki_search_term}",
@@ -222,7 +222,7 @@ outputs = await simulator(
222
222
text=text,
223
223
num_queries=1, # Minimal number of queries.
224
224
user_simulator_prompty="user_simulating_application.prompty", # A prompty that accepts all the following kwargs can be passed to override the default user behavior.
225
-
user_simulator_prompty_kwargs=user_simulator_prompty_kwargs # It uses a dictionary to override default model parameters such as `temperature` and `top_p`.
225
+
user_simulator_prompty_kwargs=user_simulator_prompty_kwargs # It uses a dictionary to override default model parameters such as temperature and top_p.
226
226
)
227
227
```
228
228
@@ -278,7 +278,7 @@ for item in data:
278
278
279
279
outputs = asyncio.run(grounding_simulator(
280
280
target=callback,
281
-
conversation_turns=conversation_turns, #generates 287 rows of data
281
+
conversation_turns=conversation_turns, # This generates 287 rows of data.
0 commit comments