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
Contains information pertaining to the action group or knowledge base that is being invoked.
The input for the orchestration step.
Contains information pertaining to the output from the foundation model that is being invoked.
Details about the observation (the output of the action group Lambda or knowledge base) made by the agent.
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.
Functions
Casts this OrchestrationTrace as a InvocationInput and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.InvocationInput value. Throws an exception if the OrchestrationTrace is not a InvocationInput.
Casts this OrchestrationTrace as a InvocationInput and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.InvocationInput value. Returns null if the OrchestrationTrace is not a InvocationInput.
Casts this OrchestrationTrace as a ModelInvocationInput and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.ModelInvocationInput value. Throws an exception if the OrchestrationTrace is not a ModelInvocationInput.
Casts this OrchestrationTrace as a ModelInvocationInput and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.ModelInvocationInput value. Returns null if the OrchestrationTrace is not a ModelInvocationInput.
Casts this OrchestrationTrace as a ModelInvocationOutput and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.OrchestrationModelInvocationOutput value. Throws an exception if the OrchestrationTrace is not a ModelInvocationOutput.
Casts this OrchestrationTrace as a ModelInvocationOutput and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.OrchestrationModelInvocationOutput value. Returns null if the OrchestrationTrace is not a ModelInvocationOutput.
Casts this OrchestrationTrace as a Observation and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.Observation value. Throws an exception if the OrchestrationTrace is not a Observation.
Casts this OrchestrationTrace as a Observation and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.Observation value. Returns null if the OrchestrationTrace is not a Observation.
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.
Casts this OrchestrationTrace as a Rationale and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.Rationale value. Returns null if the OrchestrationTrace is not a Rationale.