Class TestConnectionOutput.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • answer

        @CanIgnoreReturnValue
        public TestConnectionOutput.Builder answer​(String answer)
        Sets the answer that was returned by the model in response to the test prompt.
        Parameters:
        answer - The model's answer.
        Returns:
        The builder instance for chaining.
      • build

        public TestConnectionOutput build()
        Builds the TestConnectionOutput instance. Subsequent modifications to the builder will not affect the built instance.
        Returns:
        The built list models output instance.