PostProcessingTrace
Details about the post-processing step, in which the agent shapes the response.
Inheritors
Types
The input for the post-processing step.
The foundation model output from the post-processing step.
Functions
Casts this PostProcessingTrace as a ModelInvocationInput and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.ModelInvocationInput value. Throws an exception if the PostProcessingTrace is not a ModelInvocationInput.
Casts this PostProcessingTrace as a ModelInvocationInput and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.ModelInvocationInput value. Returns null if the PostProcessingTrace is not a ModelInvocationInput.
Casts this PostProcessingTrace as a ModelInvocationOutput and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.PostProcessingModelInvocationOutput value. Throws an exception if the PostProcessingTrace is not a ModelInvocationOutput.
Casts this PostProcessingTrace as a ModelInvocationOutput and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.PostProcessingModelInvocationOutput value. Returns null if the PostProcessingTrace is not a ModelInvocationOutput.