You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I would like to track and limit the token usage per person. Therefor I need to receive the used tokens per input and output
Describe the solution you'd like
I want meta data to be returned:
I would like to set a max tokens on user level in DynomaDB and for each request if there are sufficient tokens, it not then deny the request, otherwise continue and receive the usedTokens and update the Dynamodb
Is your feature request related to a problem? Please describe.
I would like to track and limit the token usage per person. Therefor I need to receive the used tokens per input and output
Describe the solution you'd like
I want meta data to be returned:
"usage": {
"inputTokens": number,
"outputTokens": number,
"totalTokens": number
}
in the docs: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html#API_runtime_ConverseStream_ResponseElements
The text was updated successfully, but these errors were encountered: