Enter to send·Shift+Enter new line
CompletionTokenDetails()
BaseModel
Recursively generate a dictionary representation of the model, optionally specifying which fields to include or exclude.
Generates a JSON string representing this model as it would be received from or sent to the API (but with indentation).
Usage docs: https://docs.pydantic.dev/2.4/concepts/serialization/#modelmodel_dump
Usage docs: https://docs.pydantic.dev/2.4/concepts/serialization/#modelmodel_dump_json
completion_token_details is the per-sub-category sum of completion token details across the thread. Populated when COMPLETION_TOKEN_DETAILS is selected.
completion_token_details
COMPLETION_TOKEN_DETAILS
raw maps each category name to its completion-token count.
raw