Ask a question to get started
Enter to send•Shift+Enter new line
PromptTokenDetails()
BaseModel
Recursively generate a dictionary representation of the model, optionally specifying which fields to include or exclude.
Return the report as a JSON-serializable dict (raw JSON shape).
Dump the feedback, including its address.
Usage docs: https://docs.pydantic.dev/2.4/concepts/serialization/#modelmodel_dump_json
prompt_token_details is the per-sub-category sum of prompt token details across the thread. Populated when PROMPT_TOKEN_DETAILS is selected.
prompt_token_details
PROMPT_TOKEN_DETAILS
raw maps each category name to its prompt-token count.
raw