PreProcessingTrace
Details about the pre-processing step, in which the agent contextualizes and categorizes user inputs.
Inheritors
Types
The input for the pre-processing step.
The foundation model output from the pre-processing step.
Functions
Casts this PreProcessingTrace as a ModelInvocationInput and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.ModelInvocationInput value. Throws an exception if the PreProcessingTrace is not a ModelInvocationInput.
Casts this PreProcessingTrace as a ModelInvocationInput and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.ModelInvocationInput value. Returns null if the PreProcessingTrace is not a ModelInvocationInput.
Casts this PreProcessingTrace as a ModelInvocationOutput and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.PreProcessingModelInvocationOutput value. Throws an exception if the PreProcessingTrace is not a ModelInvocationOutput.
Casts this PreProcessingTrace as a ModelInvocationOutput and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.PreProcessingModelInvocationOutput value. Returns null if the PreProcessingTrace is not a ModelInvocationOutput.