Chat client with the Foundry SDK · Question 12 of 12

A Python script creates the client with AIProjectClient and calls openai.responses.create(model="gpt-5-mini", input="Hello"). The call reports that the model was not found. What is the most likely cause?

1 answer is correct. Hard Created with AI

Show answer

Answer

  • C The deployment in the project has a different name

Explanation

The value of model must match the name of a deployment reachable in the project (or a model with instant access). If the deployment is called "chat-mini", for example, the call with the model name fails. The input language and the client aren't the problem.

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications