Issue with missing usage values in completion payload when streaming

Jai-6363 245 Reputation points
2023-10-15T15:23:22.26+00:00

When streaming is enabled, the completion payload is missing usage values. Can someone provide guidance on how to resolve this issue?

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

Accepted answer
  1. Ramr-msft 17,821 Reputation points
    2023-10-16T02:37:48.43+00:00

    @Jai-6363 Thanks for the question, As shown below when streaming usage field not included in the payload.

    User's image

    0 comments No comments

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.