How to get the number of prompt and completion tokens when using instructor #1010
Unanswered
darveenvijayan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, is there a way to check the number of prompt & completion tokens when using instructor? something like completion.usage when directly using openai API. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions