Skip to content

Conversation

intuity-hans
Copy link

I added the option to access the information OpenAI adds to the response about total usage etc. For this I had to modify the types slightly and adjusted the example for sentiment analysis to print the amount of tokens used.

Not sure if this works with Azure instances as well, because I don't have such an instance running.

@intuity-hans
Copy link
Author

@microsoft-github-policy-service agree [company="Intuity Media Lab GmbH"]

@intuity-hans
Copy link
Author

@microsoft-github-policy-service agree company="Intuity Media Lab GmbH"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant