Skip to content

Commit 3267035

Browse files
authored
UpdatePythonSupportingVersionUserPersona.md (#1842)
1 parent 9cdc191 commit 3267035

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

docs/evaluate/user-sim.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# User Simulation
1+
# User simulation
22

33
<div class="language-support-tag">
44
<span class="lst-supported">Supported in ADK</span><span class="lst-python">Python v1.18.0</span>
@@ -54,7 +54,11 @@ While the conversation plan dictates what must be accomplished, the persona dict
5454
You'll define a conversation scenario, run a "dry run" to check the
5555
dialogue, and then perform a full evaluation to score the agent's responses.
5656

57-
## User Personas
57+
## User personas
58+
59+
<div class="language-support-tag">
60+
<span class="lst-supported">Supported in ADK</span><span class="lst-python">Python v1.26.0</span>
61+
</div>
5862

5963
A User Persona is a role that the simulated user adopts during the conversation.
6064
It is defined by a set of **behaviors** that dictate how the user interacts with
@@ -91,7 +95,7 @@ below summarizes the behaviors for each persona:
9195
| **Troubleshoot Agent Errors** | Once | Never | Never |
9296
| **Tone** | Professional | Conversational | Conversational |
9397

94-
## Example: Evaluating the [`hello_world`](https://github.com/google/adk-python/tree/main/contributing/samples/core/hello_world) agent with conversation scenarios
98+
## Example: Evaluate the [`hello_world`](https://github.com/google/adk-python/tree/main/contributing/samples/core/hello_world) agent with conversation scenarios
9599

96100
To add evaluation cases containing conversation scenarios to a new or existing
97101
[`EvalSet`](https://github.com/google/adk-python/blob/main/src/google/adk/evaluation/eval_set.py),
@@ -224,7 +228,7 @@ The below `EvalConfig` shows the default user simulator configuration:
224228
* You can also access the `UserPersona` object through the `{{ persona }}`
225229
placeholder.
226230

227-
## Custom Personas
231+
## Custom personas
228232

229233
You can define your own custom persona by providing a `UserPersona` object in
230234
the `ConversationScenario`.
@@ -256,7 +260,7 @@ Example of a custom persona definition:
256260
}
257261
```
258262

259-
## Generating Evaluation Cases via User Simulation
263+
## Generate evaluation cases via user simulation
260264

261265
Writing evaluation cases manually can be time-consuming and may not cover all potential failure modes. ADK provides a command to automatically generate diverse and realistic conversation scenarios based on your agent's definition using the Agent Platform Eval SDK.
262266

0 commit comments

Comments
 (0)