From 2584b8671e590360cc1094d8e8d24dc679d114a1 Mon Sep 17 00:00:00 2001 From: Bartek Pacia Date: Thu, 29 Aug 2024 01:01:17 +0200 Subject: [PATCH] DemoApp: add more command invocation examples --- maestro-ai/src/main/java/maestro/ai/DemoApp.kt | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/maestro-ai/src/main/java/maestro/ai/DemoApp.kt b/maestro-ai/src/main/java/maestro/ai/DemoApp.kt index 82e08c87a0..6919c7acaa 100644 --- a/maestro-ai/src/main/java/maestro/ai/DemoApp.kt +++ b/maestro-ai/src/main/java/maestro/ai/DemoApp.kt @@ -23,12 +23,21 @@ fun main(args: Array) = DemoApp().main(args) * * ### Usage examples * + * Run test for a single screenshot that contains defects (i.e. is bad): + * * ```console - * maestro-ai-demo *.png + * maestro-ai-demo foo_1_bad.png * ``` * + * Run tests for all screenshots from the Uber that contain defects (i.e. are bad). Additionally, show prompts and raw + * LLM response: + * * ```console - * maestro-ai-demo foo_1_bad.png + * maestro-ai-demo \ + * --model gpt-4o-2024-08-06 \ + * --show-prompts \ + * --show-raw-response \ + * test-ai-fixtures/uber_*_bad.png * ``` * * ### Input format