Output

sealed interface Output : GenAIAttribute(source)

gen_ai.output attribute namespace.

Inheritors

Types

Link copied to clipboard
data class Messages(val messages: List<Message>) : GenAIAttributes.Output

gen_ai.output.messages attribute.

Link copied to clipboard

Allowed values for gen_ai.output.type per the OTel GenAI semantic conventions.

Link copied to clipboard

gen_ai.output.type attribute.

Properties

Link copied to clipboard
open override val key: String

Attribute key

Link copied to clipboard
abstract val value: Any

Attribute value.

Functions

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

Joins two attribute-key segments with a . separator.