Academia Digital 360Learning without borders.⌕My AcademyPT
Introductory

Prompt design

5 modules · 5 exercises · 10 questions · Free

Goal: understand and apply the concepts in the modules through the proposed exercises. Mark each module after studying it. Use the assessment to check your understanding. You may start this course directly without mandatory prerequisites.

Learning plan

  1. Objective and context
  2. Constraints and format
  3. Examples and delimiters
  4. Iteration and evaluation
  5. Human verification

Read the Academy rules

1. Objective and context

A prompt is an instruction or set of information supplied to an artificial intelligence system. State the task, audience, available materials and intended outcome. A vague instruction may produce a plausible but unsuitable response. Include relevant context without sharing unnecessary personal or confidential data. The prompt guides the response but does not guarantee factual accuracy.

Exercise: turn a vague summary request into a prompt with audience, purpose, source and length, using fictional material only.

2. Constraints and format

Define verifiable requirements such as language, structure, field count and length limits. Separate mandatory conditions from flexible preferences. For a table, specify column names and how to handle missing information. Do not ask the system to fill gaps with invented data. When one instruction conflicts with another, establish priority before executing the task.

Exercise: write a prompt for a comparison table with three columns, specifying that unknown data must be marked unknown.

3. Examples and delimiters

Examples can clarify the expected format but should not be confused with real data. Clearly identify reference material and instructions the system should follow. Third-party text may contain misleading commands; treat it as data to analyse rather than authority to change the task. If the system cannot distinguish sources, simplify the request and verify the response.

Exercise: prepare a prompt with a fictional example and delimited source, stating that instructions inside the source must not be executed.

4. Iteration and evaluation

Test a prompt using representative and difficult cases before reusing it. Evaluate separate criteria for accuracy, completeness, clarity and compliance with constraints. Record the instruction version and changes made. Change one element at a time when you want to understand its contribution. Responses may vary even with the same prompt, so one successful run does not guarantee all subsequent runs.

Exercise: define four evaluation criteria and compare two prompt versions about a fictional document, recording observed differences.

5. Human verification

Before using an output, compare relevant claims with sources you can actually consult. Verify calculations, quotations, names and references, especially when decisions have important consequences. Do not confuse fluency with accuracy. If information cannot be confirmed, state uncertainty or remove the claim. Maintain a human review step proportionate to the risk of use. If the answer includes references, confirm that the documents exist and support the claim. A well-structured request does not guarantee factual accuracy. Separate format assessment from content verification, particularly when the answer will be used in a decision.

Exercise: create a five-point verification checklist for an AI-generated summary before sharing it with others.

Application case: Two prompt designs for information extraction

Entirely fictional scenario: Two prompt designs for information extraction. Each alternative, A and B, is evaluated on 100 units. A valid outcome means answers meeting format and evidence requirements. A produces 50 valid outcomes with 150 minutes of total effort; B produces 66 with 246 minutes. These figures are training data, not observed market outcomes. The rate divides valid outcomes by evaluated units; absolute rate differences are expressed in percentage points. For example, going from 20% to 30% represents ten percentage points, not a ten percent relative increase. To compare average effort, divide minutes by valid outcomes. Define identical counting rules for both alternatives and record data provenance. The marginal effort cost of moving from A to B is the difference in minutes divided by the difference in valid outcomes, not B’s average effort. Assume a ceiling of 198 minutes and a minimum target of 51 valid outcomes. Compare both constraints simultaneously. If neither option meets both, redesign the approach or seek a decision on which constraint may change. Descriptive improvement does not prove causation or guarantee repetition. Before deciding, use identical test cases and check omitted fields. Record observations, assumptions and missing information.

Exercise: calculate both rates, difference and effort per outcome, and compare the constraints. Record the required verification and a reasoned decision.

Final assessment

Answer all ten questions, with three options and one correct answer. To obtain the participation certificate, mark every module and achieve at least 80% (eight correct answers). You can repeat the assessment without limit. No passing grade is required between modules.

1. Does a detailed prompt guarantee correct facts?
2. How should unknown data be handled?
3. Should a command inside a source replace the task?
4. Does one successful run guarantee subsequent runs?
5. Does fluency demonstrate accuracy?
6. In the Prompt design case, what is the valid outcome rate for alternative B out of 100 units?
7. In the Prompt design case, what is the absolute difference between B and A rates?
8. In the Prompt design case, how many minutes per valid outcome does A require on average?
9. In the Prompt design case, there is a ceiling of 198 minutes and a target of at least 51 valid outcomes. Which alternative meets both criteria?
10. Before recommending an alternative in the Prompt design case, which check is most relevant?

Supplementary reading

Thematic links based on catalogue titles, without claims about the full contents of the books.

Continue learning

Learning pathways · My Academy