Gherkin for Prompting

Does any find using Gherkin (WHEN, IF, THEN statements) helps prompting? I’ve been using it and while it helps me clear about logic, not sure it matters to Agent.

i think it reduces ambiguity, so it should help

1 Like

I also use Gherkin, not as a first-line treatment of most things, but it does help me get the exact behavior for multi-state situations. For example, a date field where I want ‘any’ as the default, then you click in and it turns into a date entry field where you can manually enter a date, OR you can click a calendar icon for a calendar popup to select and populate a date, and also if you click outside the entire field or hit esc the field returns to ‘any’. Multi-step prompting with plain text but just 1 or 2 prompts when i use Gherkin.

1 Like