Closed AnandSaran closed 1 year ago
As I see response objects in stream mode does not contain 'usage' section with tokens stats:
{
"id": "cmpl-7BO0U7TFWJVvEJAYVJWjsRTqZO2w1",
"object": "text_completion",
"created": 1682948246,
"choices": [
{
"text": " indicators",
"index": 0,
"logprobs": null,
"finish_reason": null
}
],
"model": "text-davinci-003"
}
Hi, I have implemented createChatCompletionStream. But in the StreamCompletionResponse not able to get the token information model UsageResponse.