Most developers extract only:

response.choices[0].message.content

But real AI engineering begins when you understand everything else the model returns.

Introduction

The first time most developers integrate an LLM into an application, the implementation looks simple: