-
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add context tokens to api response #91
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
first pass just looking at the diff. juggle through these for now. i'll test later
as an added fyi, we can probably skip tokenizing stuff ourselves and can use openai-dotnet https://github.com/openai/openai-dotnet/blob/main/src/Custom/Chat/ChatTokenUsage.cs should be available in the return of |
3c42bd7
to
08f514c
Compare
looks good to me otherwise |
No description provided.