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
@@ -266,20 +336,52 @@ Note the project ID from the output.
266
336
267
337
**Step 2: Set the agent prompt.** This is the most important step - the prompt drives scenario generation, evaluation criteria, and go-live assessments.
268
338
339
+
From a YAML file (recommended — define everything in one place):
340
+
341
+
```bash
342
+
testmu-a2a prompts set --project <project_id> --from-file prompt.yaml
343
+
```
344
+
345
+
`prompt.yaml`:
346
+
347
+
```yaml
348
+
prompt: |
349
+
You are an airline booking assistant. You help customers find flights,
350
+
make reservations, handle cancellations, and process refunds.
351
+
Always verify the customer's identity before making changes.
352
+
Never share other customers' booking information.
353
+
354
+
# Or reference a separate file (path relative to this YAML)
355
+
# prompt_file: ./agent_system_prompt.md
356
+
357
+
context: "Agent must comply with DOT airline passenger rights regulations"
358
+
359
+
files:
360
+
- ./compliance_rules.pdf
361
+
- ./fare_structure.docx
362
+
```
363
+
364
+
Inline:
365
+
269
366
```bash
270
-
# Inline
271
367
testmu-a2a prompts set --project <project_id> \
272
368
--prompt "You are an airline booking assistant. You help customers find
273
369
flights, make reservations, handle cancellations, and process refunds.
274
370
Always verify the customer's identity before making changes.
275
371
Never share other customers' booking information.
276
372
If the customer is upset, empathize before offering solutions."
373
+
```
277
374
278
-
# From a file
375
+
From a prompt file:
376
+
377
+
```bash
279
378
testmu-a2a prompts set --project <project_id> \
280
379
--prompt-file ./agent_system_prompt.md
380
+
```
381
+
382
+
With additional requirement documents (compliance rules, product specs, etc.):
281
383
282
-
# With additional requirement documents (compliance rules, product specs, etc.)
0 commit comments