Skip to content

Properly return usage information for BedrockClientV2 for the Reranker model? #651

@ldorigo

Description

@ldorigo

It would be very useful to have a number of "used billable units" since now I need to implement some complicated (and cpu-intensive) logic to tokenize the queries, tokenize each document; and count how many billable requests will be used by a given request based on the amount and length of documents.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions