TracePart

class TracePart

Contains information about the agent and session, alongside the agent's reasoning process and results from calling API actions and querying knowledge bases and metadata about the trace. You can use the trace to understand how the agent arrived at the response it provided the customer. For more information, see Trace enablement.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The unique identifier of the alias of the agent.

Link copied to clipboard

The unique identifier of the agent.

Link copied to clipboard

The version of the agent.

Link copied to clipboard

The part's caller chain.

Link copied to clipboard

The part's collaborator name.

Link copied to clipboard

The time of the trace.

Link copied to clipboard

The unique identifier of the session with the agent.

Link copied to clipboard
val trace: Trace?

Contains one part of the agent's reasoning process and results from calling API actions and querying knowledge bases. You can use the trace to understand how the agent arrived at the response it provided the customer. For more information, see Trace enablement.

Functions

Link copied to clipboard
inline fun copy(block: TracePart.Builder.() -> Unit = {}): TracePart
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String