QuestionQ19

Verified

An automation developer needs an agent to extract the invoice number from incoming emails without being given any examples.

How should the zero-shot system prompt be written for this simple task?

Explanation

A zero-shot prompt describes the task without providing examples. A clear, direct instruction to read the email and return the invoice number if present is sufficient for this simple extraction task; tools, escalation rules, and extensive reasoning instructions are unnecessary. (docs.cloud.google.com)

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!