forked from 64bit/async-openai
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add parsing for detailed token usage information (64bit#282)
This update adds functionality to parse the detailed token usage data returned by the OpenAI API. Reference: https://platform.openai.com/docs/api-reference/chat/object#chat/object-usage (cherry picked from commit 6858399)
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters