AI-901 Implement AI solutions with Microsoft Foundry EASY
PRODUCTION SCENARIO
A Python client asks a Foundry agent about the size of France and then asks for the capital. Each responses.create call is sent on its own, and the second answer is about a different country.

Which change gives the agent the earlier turn?

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

Show answer and explanation

Answer: Create a conversation and pass its id on each request

The quickstart creates a conversation and passes its id on each responses.create call, and that conversation maintains history across the interactions so the follow-up resolves against the earlier turn.
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