Closed copybara-service[bot] closed 4 months ago
Introduce LMSamplingUsage and make it a part of LMSamplingResult.
LMSamplingUsage
LMSamplingResult
Previously we have Usage for OpenAI models, now we lift this up for all LLM use cases. This also add the usage object as the returning message's usage metadata.
Usage
usage
Introduce
LMSamplingUsage
and make it a part ofLMSamplingResult
.Previously we have
Usage
for OpenAI models, now we lift this up for all LLM use cases. This also add the usage object as the returning message'susage
metadata.