AIService with Pojo Extractor AND Response<AiMessage> #883
Replies: 2 comments
-
Hi @kwilliams-halosight right now I am afraid there is no way. If your goal is to keep track of used tokens, it will be addressed in #199. |
Beta Was this translation helpful? Give feedback.
0 replies
-
You can do that now, details here: #1015 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I can't figure out how to make an AI service that populates a pojo AND gives me access to the response so I can get usage counts. As a suggestion, I'd either like to do something like "builder.onComplete(callback)" so a function is called on completion that notifies me, OR, perhaps the ability to put something similar like "Response getResponse()" on the proxied interface so I can just retrieve it from the last call.
If there's another way to do this currently, let me know!
Beta Was this translation helpful? Give feedback.
All reactions