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
# Format the response to follow the OpenAI chat protocol
135
+
# Format the response so that it follows the OpenAI chat protocol.
136
136
formatted_response = {
137
137
"content": response,
138
138
"role": "assistant",
@@ -199,7 +199,7 @@ outputs = await simulator(
199
199
num_queries=4,
200
200
max_conversation_turns=2,
201
201
tasks=tasks,
202
-
query_response_generating_prompty=query_response_prompty_override #optional, use your own prompt to control how query-response pairs are generated from the input text to be used in your simulator
202
+
query_response_generating_prompty=query_response_prompty_override #Optional, use your own prompt to control how query-response pairs are generated from the input text to be used in your simulator.
203
203
)
204
204
205
205
for output in outputs:
@@ -231,7 +231,7 @@ outputs = await simulator(
231
231
When you incorporate conversation starters, the simulator can handle prespecified repeatable contextually relevant interactions. This capability is useful for simulating the same user turns in a conversation or interaction and evaluating the differences.
232
232
233
233
```python
234
-
conversation_turns = [ # Defines predefined conversation sequences, each starting with a conversation starter.
234
+
conversation_turns = [ # Defines predefined conversation sequences. Each starts with a conversation starter.
0 commit comments