Skip to content

Add usage in response like openai? #202

@npuichigo

Description

@npuichigo

https://platform.openai.com/docs/api-reference/completions/object#completions/object-usage
What about add usage in trt ensemble models to return the token usage like openai? At lease the prompt and output token length. It would be eaiser to provide an OpenAI compatible API.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions