-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
.Net: New Feature: dotnet: Get number of used tokens from embeddings #9945
Comments
Further information: The properties does not however seems to be mapped to the |
Relates to: Azure/azure-sdk-for-net#47508 |
We need to extends the text generation abstractions to enable this |
@RogerBarreto can you take a look once the Azure SDK issue gets resolved |
name: Get number of used tokens from embeddings
about: When calling the
GenerateEmbeddingsAsync
onITextEmbeddingGenerationService
it would be really nice if it was possible to get number of spend tokens either by registering a filter inKernel
given as argument or through a new property on the returned object. Currently getting the number of spend tokens seems not to be possible.The text was updated successfully, but these errors were encountered: