docs(json): make it clearer how to get Pydantic model output (#17671)

This commit is contained in:
Yi Ding 2025-12-08 18:38:57 -08:00 • committed by GitHub
parent 7c2e2111c0
commit e0a8f7435d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -126,6 +126,8 @@ resp = completion(
)
print("Received={}".format(resp))
events_list = EventsList.model_validate_json(resp.choices[0].message.content)
```
</TabItem>
<TabItem value="proxy" label="PROXY">