ModelInvocationInput
The input for the pre-processing step.
The
type
isPRE_PROCESSING
.The
text
contains the prompt.The
inferenceConfiguration
,parserMode
, andoverrideLambda
values are set in the PromptOverrideConfiguration object that was set when the agent was created or updated.
Inherited 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.