Extract usage data from OpenAI API response
usage.Rd
This function extracts the usage data from the parsed HTTP response of an API call to the OpenAI chat completions endpoint.
usage.Rd
This function extracts the usage data from the parsed HTTP response of an API call to the OpenAI chat completions endpoint.