Comments (2)
Unfortunately OpenAI does not provide token usage information when streaming results. This is a limitation of OpenAI and there is unfortunately nothing I can do about it. See details in #166 and at https://community.openai.com/t/openai-api-get-usage-tokens-in-response-when-set-stream-true/. Sorry 🤷♂️
from openai-api-dotnet.
Thank you very much for response.
from openai-api-dotnet.
Related Issues (20)
- Call from Main? HOT 2
- System.NullReferenceException HOT 1
- RobiniaDocs API Explorer
- can I use managed identity as authentication to access azure openai?
- Model.GPT4 still selects gpt-3 model HOT 1
- IHttpClientFactory Missing a "using" from source code HOT 1
- ✨ Alternative implementations also available HOT 8
- Azure - HTTP status code: NotFound. Content: {"error":{"code":"404","message": "Resource not found"}})' HOT 1
- Image Generation: DALL-E-3 HOT 7
- Error converting value "gpt-3.5-turbo-0613" to type 'OpenAI_API.Models.Model HOT 3
- StreamResponseEnumerableFromChatbotAsync (and StreamResponseFromChatbotAsync) call endpoint twice HOT 3
- OpenAI Assistant API support HOT 3
- GetSpeechAsStreamAsync - NAudio HOT 4
- Image variations HOT 1
- [UNITY] Chat Streaming Error: WebException: The request was aborted: The request was canceled. HOT 3
- Getting 100 sec timeout when using completion endpoint. I tried Httpclient HOT 1
- - nevermind - can delete HOT 5
- The SSL connection could not be established, see inner exception. HOT 1
- Running the tests HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openai-api-dotnet.