Question 140
A project needs the following AI behavior: A beginner app sends user text to a chat completion endpoint. What should the designer implement?
Explanation
Correct Answer
Chat APIs use structured messages rather than concatenating untyped command strings. This implementation addresses the precise goal rather than an adjacent AI task.
Incorrect Answers
A model family label is not necessarily the concrete deployed endpoint. That is not sufficient here: Chat APIs use structured messages rather than concatenating untyped command strings.
Versioned system messages provide a controlled behavioral baseline. That is not sufficient here: Chat APIs use structured messages rather than concatenating untyped command strings.
Long irrelevant context consumes tokens and may increase latency. That is not sufficient here: Chat APIs use structured messages rather than concatenating untyped command strings.