Class GenerationResults
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<GenerationResults.Builder,GenerationResults>
Counts of the sessions, scenarios and examples a dataset generation has processed.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic GenerationResults.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final IntegerThe number of added examples that have reference fields.final IntegerThe number of examples added to the dataset's draft.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final IntegerThe number of scenarios left out as duplicates, of each other or of examples already in the draft.final IntegerThe number of scenarios generated.static Class<? extends GenerationResults.Builder> final IntegerThe number of sessions dropped because of an error.final IntegerThe number of sessions that matched the filters or were named in the request, before sampling.final IntegerThe number of sessions left after sampling.final IntegerThe number of sessions left out because an evaluator filter had no result to compare, either because the session wasn't evaluated yet or because the evaluation failed.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
sessionsMatched
The number of sessions that matched the filters or were named in the request, before sampling. This includes sessions that later failed.
- Returns:
- The number of sessions that matched the filters or were named in the request, before sampling. This includes sessions that later failed.
-
sessionsSelected
The number of sessions left after sampling.
- Returns:
- The number of sessions left after sampling.
-
sessionsUnscored
The number of sessions left out because an evaluator filter had no result to compare, either because the session wasn't evaluated yet or because the evaluation failed.
- Returns:
- The number of sessions left out because an evaluator filter had no result to compare, either because the session wasn't evaluated yet or because the evaluation failed.
-
sessionsFailed
The number of sessions dropped because of an error. See
errorDetailsfor the errors.- Returns:
- The number of sessions dropped because of an error. See
errorDetailsfor the errors.
-
scenariosGenerated
The number of scenarios generated.
- Returns:
- The number of scenarios generated.
-
scenariosDeduplicated
The number of scenarios left out as duplicates, of each other or of examples already in the draft.
- Returns:
- The number of scenarios left out as duplicates, of each other or of examples already in the draft.
-
examplesWritten
The number of examples added to the dataset's draft.
- Returns:
- The number of examples added to the dataset's draft.
-
examplesWithGroundTruth
The number of added examples that have reference fields.
- Returns:
- The number of added examples that have reference fields.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<GenerationResults.Builder,GenerationResults> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-