Call

sealed interface Call : GenAIAttributes.Tool(source)

gen_ai.tool.call attribute namespace.

Inheritors

Types

Link copied to clipboard
data class Arguments(val arguments: JsonObject) : GenAIAttributes.Tool.Call

gen_ai.tool.call.arguments attribute.

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

gen_ai.tool.call.id attribute.

Link copied to clipboard
data class Result(val result: JsonElement) : GenAIAttributes.Tool.Call

gen_ai.tool.call.result 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.