Class AgentTurnResult

    • Method Detail

      • expectedAgentPrompt

        public final String expectedAgentPrompt()

        The expected agent prompt for the agent turn in a test set execution.

        Returns:
        The expected agent prompt for the agent turn in a test set execution.
      • actualAgentPrompt

        public final String actualAgentPrompt()

        The actual agent prompt for the agent turn in a test set execution.

        Returns:
        The actual agent prompt for the agent turn in a test set execution.
      • errorDetails

        public final ExecutionErrorDetails errorDetails()
        Returns the value of the ErrorDetails property for this object.
        Returns:
        The value of the ErrorDetails property for this object.
      • actualElicitedSlot

        public final String actualElicitedSlot()

        The actual elicited slot for the agent turn in a test set execution.

        Returns:
        The actual elicited slot for the agent turn in a test set execution.
      • actualIntent

        public final String actualIntent()

        The actual intent for the agent turn in a test set execution.

        Returns:
        The actual intent for the agent turn in a test set execution.
      • 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)