AI-901 Implement AI solutions with Microsoft Foundry MEDIUM
PRODUCTION SCENARIO
A Foundry prompt that classifies tickets into six categories labels the same ticket differently across runs and invents category names that are not on the list.

What should the developer add to the request?

Answering here is anonymous. Nothing is saved unless you sign in.

Show answer and explanation

Answer: Example user and assistant messages after the system message

Few-shot examples condition the model to respond as desired for the current inference, and with the Chat Completion API they are added to the messages array as example user and assistant interactions after the initial system message. Showing labeled examples is the documented step before reaching for more expensive options.
Free

Keep practicing AI-901

undefined original AI-901 practice questions, each with an explanation and a source link. No account needed.

Start free practice set → Timed, explained, free