Class EvaluationConfig

    • Method Detail

      • automated

        public final AutomatedEvaluationConfig automated()

        Used to specify an automated model evaluation job. See AutomatedEvaluationConfig to view the required parameters.

        Returns:
        Used to specify an automated model evaluation job. See AutomatedEvaluationConfig to view the required parameters.
      • human

        public final HumanEvaluationConfig human()

        Used to specify a model evaluation job that uses human workers.See HumanEvaluationConfig to view the required parameters.

        Returns:
        Used to specify a model evaluation job that uses human workers.See HumanEvaluationConfig to view the required parameters.
      • 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)
      • fromAutomated

        public static EvaluationConfig fromAutomated​(AutomatedEvaluationConfig automated)
        Create an instance of this class with automated() initialized to the given value.

        Used to specify an automated model evaluation job. See AutomatedEvaluationConfig to view the required parameters.

        Parameters:
        automated - Used to specify an automated model evaluation job. See AutomatedEvaluationConfig to view the required parameters.
      • fromAutomated

        public static EvaluationConfig fromAutomated​(Consumer<AutomatedEvaluationConfig.Builder> automated)
        Create an instance of this class with automated() initialized to the given value.

        Used to specify an automated model evaluation job. See AutomatedEvaluationConfig to view the required parameters.

        Parameters:
        automated - Used to specify an automated model evaluation job. See AutomatedEvaluationConfig to view the required parameters.
      • fromHuman

        public static EvaluationConfig fromHuman​(HumanEvaluationConfig human)
        Create an instance of this class with human() initialized to the given value.

        Used to specify a model evaluation job that uses human workers.See HumanEvaluationConfig to view the required parameters.

        Parameters:
        human - Used to specify a model evaluation job that uses human workers.See HumanEvaluationConfig to view the required parameters.
      • fromHuman

        public static EvaluationConfig fromHuman​(Consumer<HumanEvaluationConfig.Builder> human)
        Create an instance of this class with human() initialized to the given value.

        Used to specify a model evaluation job that uses human workers.See HumanEvaluationConfig to view the required parameters.

        Parameters:
        human - Used to specify a model evaluation job that uses human workers.See HumanEvaluationConfig to view the required parameters.