PreProcessingTrace - Amazon Bedrock


Details about the pre-processing step, in which the agent contextualizes and categorizes user inputs.



This data type is a UNION, so only one of the following members can be specified when used or returned.


The input for the pre-processing step.

  • The type is PRE_PROCESSING.

  • The text contains the prompt.

  • The inferenceConfiguration, parserMode, and overrideLambda values are set in the PromptOverrideConfiguration object that was set when the agent was created or updated.

Type: ModelInvocationInput object

Required: No


The foundation model output from the pre-processing step.

Type: PreProcessingModelInvocationOutput object

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: