completion_cost_details is the per-category USD breakdown of completion_cost.
public Optional<CompletionCostDetails> completionCostDetails()completion_cost_details is the per-category USD breakdown of completion_cost. Categories
mirror completion_token_details. Returned only when the COMPLETION_COST_DETAILS field is
requested.
LangChainInvalidDataException: if the JSON field has an unexpected type (e.g. if the
server responded with an unexpected value).