OutputTokens

data class OutputTokens(val tokens: Int) : GenAIAttributes.Usage(source)

gen_ai.usage.output_tokens attribute.

Constructors

Link copied to clipboard
constructor(tokens: Int)

Properties

Link copied to clipboard
open override val key: String

Attribute key

Link copied to clipboard
val tokens: Int
Link copied to clipboard
open override val value: Int

Attribute value.

Functions

Link copied to clipboard
open fun String.concatKey(other: String): String

Joins two attribute-key segments with a . separator.