When making requests to Azure OpenAI's GPT-3.5-turbo with streaming enabled, I received a response where the usage field, which represents the usage statistics, was null. Why is this the case?

劉亞坤 30 Reputation points
2023-08-15T07:51:08.8366667+00:00

User's image

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
4,101 questions
{count} votes

Accepted answer
  1. John Sanders 176 Reputation points Microsoft Employee
    2023-08-15T19:49:46.3833333+00:00

    Stream = On does not support usage tokens at the end of the request at this time; this is not a supported capability. It is in our backlog, but no ETA at this time.

    3 people found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.