Interface PreProcessingParsedResponse.Builder

    • Method Detail

      • isValid

        PreProcessingParsedResponse.Builder isValid​(Boolean isValid)

        Whether the user input is valid or not. If false, the agent doesn't proceed to orchestration.

        Parameters:
        isValid - Whether the user input is valid or not. If false, the agent doesn't proceed to orchestration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rationale

        PreProcessingParsedResponse.Builder rationale​(String rationale)

        The text returned by the parsing of the pre-processing step, explaining the steps that the agent plans to take in orchestration, if the user input is valid.

        Parameters:
        rationale - The text returned by the parsing of the pre-processing step, explaining the steps that the agent plans to take in orchestration, if the user input is valid.
        Returns:
        Returns a reference to this object so that method calls can be chained together.