@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutomatedEvaluationConfig extends Object implements Serializable, Cloneable, StructuredPojo
Use to specify a automatic model evaluation job. The EvaluationDatasetMetricConfig object is used to
specify the prompt datasets, task type, and metric names.
| Constructor and Description |
|---|
AutomatedEvaluationConfig() |
| Modifier and Type | Method and Description |
|---|---|
AutomatedEvaluationConfig |
clone() |
boolean |
equals(Object obj) |
List<EvaluationDatasetMetricConfig> |
getDatasetMetricConfigs()
Specifies the required elements for an automatic model evaluation job.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDatasetMetricConfigs(Collection<EvaluationDatasetMetricConfig> datasetMetricConfigs)
Specifies the required elements for an automatic model evaluation job.
|
String |
toString()
Returns a string representation of this object.
|
AutomatedEvaluationConfig |
withDatasetMetricConfigs(Collection<EvaluationDatasetMetricConfig> datasetMetricConfigs)
Specifies the required elements for an automatic model evaluation job.
|
AutomatedEvaluationConfig |
withDatasetMetricConfigs(EvaluationDatasetMetricConfig... datasetMetricConfigs)
Specifies the required elements for an automatic model evaluation job.
|
public List<EvaluationDatasetMetricConfig> getDatasetMetricConfigs()
Specifies the required elements for an automatic model evaluation job.
public void setDatasetMetricConfigs(Collection<EvaluationDatasetMetricConfig> datasetMetricConfigs)
Specifies the required elements for an automatic model evaluation job.
datasetMetricConfigs - Specifies the required elements for an automatic model evaluation job.public AutomatedEvaluationConfig withDatasetMetricConfigs(EvaluationDatasetMetricConfig... datasetMetricConfigs)
Specifies the required elements for an automatic model evaluation job.
NOTE: This method appends the values to the existing list (if any). Use
setDatasetMetricConfigs(java.util.Collection) or withDatasetMetricConfigs(java.util.Collection)
if you want to override the existing values.
datasetMetricConfigs - Specifies the required elements for an automatic model evaluation job.public AutomatedEvaluationConfig withDatasetMetricConfigs(Collection<EvaluationDatasetMetricConfig> datasetMetricConfigs)
Specifies the required elements for an automatic model evaluation job.
datasetMetricConfigs - Specifies the required elements for an automatic model evaluation job.public String toString()
toString in class ObjectObject.toString()public AutomatedEvaluationConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.