Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

Tune generation behavior, such as prompt engineering and adjusting model parameters

A worked example

Multiple answers

An application asks a language model to recommend upcoming workshops from a supplied schedule. The schedule lists an end date for each workshop. Recommendations must reflect the user's selected interests and exclude workshops whose end date is before today. The application knows the current date and the selected interests, but the prompt currently contains only the schedule and a general recommendation instruction. The model has no access to the application's settings or a live clock.

Which two additions should you make to the prompt to supply the missing context? Select two. Each correct answer presents part of the solution.

Choose 2 answers.
Why

The prompt needs the user's interests and the application's current date in addition to the workshop schedule. Supporting content supplies these contextual facts. Examples and a persona can guide behavior, but the proposed versions do not provide the missing information.

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free