Interface AgentTurnResult.Builder

    • Method Detail

      • expectedAgentPrompt

        AgentTurnResult.Builder expectedAgentPrompt​(String expectedAgentPrompt)

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

        Parameters:
        expectedAgentPrompt - The expected agent prompt for the agent turn in a test set execution.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • actualAgentPrompt

        AgentTurnResult.Builder actualAgentPrompt​(String actualAgentPrompt)

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

        Parameters:
        actualAgentPrompt - The actual agent prompt for the agent turn in a test set execution.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • errorDetails

        AgentTurnResult.Builder errorDetails​(ExecutionErrorDetails errorDetails)
        Sets the value of the ErrorDetails property for this object.
        Parameters:
        errorDetails - The new value for the ErrorDetails property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • actualElicitedSlot

        AgentTurnResult.Builder actualElicitedSlot​(String actualElicitedSlot)

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

        Parameters:
        actualElicitedSlot - The actual elicited slot for the agent turn in a test set execution.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • actualIntent

        AgentTurnResult.Builder actualIntent​(String actualIntent)

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

        Parameters:
        actualIntent - The actual intent for the agent turn in a test set execution.
        Returns:
        Returns a reference to this object so that method calls can be chained together.