init(input:output:metadata:)
Creates a usage update.
Declaration
init(input: LanguageModelExecutorGenerationChannel.Usage.Input, output: LanguageModelExecutorGenerationChannel.Usage.Output, metadata: [String : any Sendable & Codable & Equatable] = [:])Parameters
- input:
Token counts for the transcript.
- output:
Token counts for the response.