Class PostProcessingTrace

    • Method Detail

      • modelInvocationInput

        public final ModelInvocationInput modelInvocationInput()

        The input for the post-processing step.

        • The type is POST_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.

        Returns:
        The input for the post-processing step.

        • The type is POST_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.

      • modelInvocationOutput

        public final PostProcessingModelInvocationOutput modelInvocationOutput()

        The foundation model output from the post-processing step.

        Returns:
        The foundation model output from the post-processing step.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)
      • fromModelInvocationInput

        public static PostProcessingTrace fromModelInvocationInput​(ModelInvocationInput modelInvocationInput)
        Create an instance of this class with modelInvocationInput() initialized to the given value.

        The input for the post-processing step.

        • The type is POST_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.

        Parameters:
        modelInvocationInput - The input for the post-processing step.

        • The type is POST_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.

      • fromModelInvocationInput

        public static PostProcessingTrace fromModelInvocationInput​(Consumer<ModelInvocationInput.Builder> modelInvocationInput)
        Create an instance of this class with modelInvocationInput() initialized to the given value.

        The input for the post-processing step.

        • The type is POST_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.

        Parameters:
        modelInvocationInput - The input for the post-processing step.

        • The type is POST_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.

      • fromModelInvocationOutput

        public static PostProcessingTrace fromModelInvocationOutput​(PostProcessingModelInvocationOutput modelInvocationOutput)
        Create an instance of this class with modelInvocationOutput() initialized to the given value.

        The foundation model output from the post-processing step.

        Parameters:
        modelInvocationOutput - The foundation model output from the post-processing step.