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

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