Skip to content

Cost metadata extractor #35

Description

@davidbreitgand

What would you like to be added:

Add specialized metadatadata extractor plugin to the datalayer plugins to extract input/output tokens info from theusage metadata field on a response path (triggered by response event) -> convert to cost using model pricing attributes -> update t-digest of the model on the model's AttributeMap

Why is this needed:

This extractor is needed to implement CostGuard actual inference cost-aware model scorer according to PR #22 .

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions