OrchestrationTrace

sealed class OrchestrationTrace

Details about the orchestration step, in which the agent determines the order in which actions are executed and which knowledge bases are retrieved.

Inheritors

Types

Link copied to clipboard

Contains information pertaining to the action group or knowledge base that is being invoked.

Link copied to clipboard

The input for the orchestration step.

Link copied to clipboard

Contains information pertaining to the output from the foundation model that is being invoked.

Link copied to clipboard
data class Observation(val value: Observation) : OrchestrationTrace

Details about the observation (the output of the action group Lambda or knowledge base) made by the agent.

Link copied to clipboard
data class Rationale(val value: Rationale) : OrchestrationTrace

Details about the reasoning, based on the input, that the agent uses to justify carrying out an action group or getting information from a knowledge base.

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Casts this OrchestrationTrace as a Rationale and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.Rationale value. Throws an exception if the OrchestrationTrace is not a Rationale.

Link copied to clipboard