Skip to content
Discussion options

You must be logged in to vote

How do you design effective prompts?

Designing effective prompts is mostly about making the model understand your goal, constraints, and success criteria, then structuring the task so you can verify the result.

A reusable prompt template

Template

Role: You are a ___.
Task: Create/Answer ___.
Inputs/Context: ___.
Constraints: ___ (format, length, tone, what to avoid).
Process: Step-by-step (optional): ___.
Uncertainty rule: If missing info, say UNKNOWN and ask ___.
Output format: ___ (table/sections/JSON).
Success criteria: What “good” means: ___.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sudoUgando
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants