API Response

choices[0].message.content

The path inside the API's JSON response where the model's actual text reply is stored — choices is an array, [0] picks the first (usually only) result, and .content holds the message text.

Return to all terms