-
-
Notifications
You must be signed in to change notification settings - Fork 87
[Platform][Gemini] Add TokenOutputProcessor
#347
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
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.
Can you please add an example in examples/ folder? Thanks
Should wait for #329 |
Yeah, I will rebase after ;) |
Since #329 seems currently stuck/unfinished, I wonder if this PR couldn't be review/merged first and then #329 will rebased it. This way I'll be able to use my Processor @chr-hertel :) |
Ready for rebase 👍 |
TokenOutputProcessor
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.
After my comments
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.
Also needs the bundle registration now :)
Indeed, I missed that |
d6b055c
to
427bd83
Compare
427bd83
to
c93b409
Compare
Ready @chr-hertel |
2b5c5a1
to
59cc045
Compare
Thank you @VincentLanglet. |
According to https://ai.google.dev/api/generate-content?hl=en#UsageMetadata
This will need the
AsTokenUsageProcessor
from PR of @junaidbinfarooq