prompt_token_details is the per-category breakdown of prompt_tokens.
public Optional<PromptTokenDetails> promptTokenDetails()prompt_token_details is the per-category breakdown of prompt_tokens. Category names are
model-specific (for example cache_read, cache_write). Returned only when the
PROMPT_TOKEN_DETAILS field is requested.
LangChainInvalidDataException: if the JSON field has an unexpected type (e.g. if the
server responded with an unexpected value).