Response

sealed interface Response : GenAIAttribute(source)

gen_ai.response attribute namespace.

Inheritors

Types

Link copied to clipboard

gen_ai.response.finish_reasons attribute.

Link copied to clipboard
sealed interface FinishReasonType

Allowed values for gen_ai.response.finish_reasons. The standard set covers content_filter, length, stop, and tool_calls; use Custom for vendor-specific reasons.

Link copied to clipboard
data class Id(val id: String) : GenAIAttributes.Response

gen_ai.response.id attribute.

Link copied to clipboard
data class Metadata(val metadata: String) : GenAIAttributes.Response

gen_ai.response.metadata attribute.

Link copied to clipboard
data class Model(val model: LLModel) : GenAIAttributes.Response

gen_ai.response.model 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.