Class EvaluationSetsCreateRequest.Builder
- java.lang.Object
-
- ai.extend.resources.evaluationsets.requests.EvaluationSetsCreateRequest.Builder
-
- All Implemented Interfaces:
EvaluationSetsCreateRequest._FinalStage,EvaluationSetsCreateRequest.EntityIdStage,EvaluationSetsCreateRequest.NameStage
- Enclosing class:
- EvaluationSetsCreateRequest
public static final class EvaluationSetsCreateRequest.Builder extends java.lang.Object implements EvaluationSetsCreateRequest.NameStage, EvaluationSetsCreateRequest.EntityIdStage, EvaluationSetsCreateRequest._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EvaluationSetsCreateRequestbuild()EvaluationSetsCreateRequest._FinalStagedescription(java.lang.String description)A description of what this evaluation set is used for.EvaluationSetsCreateRequest._FinalStagedescription(java.util.Optional<java.lang.String> description)A description of what this evaluation set is used for.EvaluationSetsCreateRequest._FinalStageentityId(java.lang.String entityId)The ID of the extractor, classifier, or splitter to create an evaluation set for.EvaluationSetsCreateRequest.Builderfrom(EvaluationSetsCreateRequest other)EvaluationSetsCreateRequest.EntityIdStagename(java.lang.String name)The name of the evaluation set.
-
-
-
Method Detail
-
from
public EvaluationSetsCreateRequest.Builder from(EvaluationSetsCreateRequest other)
- Specified by:
fromin interfaceEvaluationSetsCreateRequest.NameStage
-
name
public EvaluationSetsCreateRequest.EntityIdStage name(@NotNull java.lang.String name)
The name of the evaluation set.
Example:
"Invoice Processing Test Set"The name of the evaluation set.
Example:
"Invoice Processing Test Set"- Specified by:
namein interfaceEvaluationSetsCreateRequest.NameStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
entityId
public EvaluationSetsCreateRequest._FinalStage entityId(@NotNull java.lang.String entityId)
The ID of the extractor, classifier, or splitter to create an evaluation set for. Evaluation sets can in theory be run against any extractor, classifier, or splitter, but it is required to associate the evaluation set with a primary extractor, classifier, or splitter.
Example:
"ex_Xj8mK2pL9nR4vT7qY5wZ"The ID of the extractor, classifier, or splitter to create an evaluation set for. Evaluation sets can in theory be run against any extractor, classifier, or splitter, but it is required to associate the evaluation set with a primary extractor, classifier, or splitter.
Example:
"ex_Xj8mK2pL9nR4vT7qY5wZ"- Specified by:
entityIdin interfaceEvaluationSetsCreateRequest.EntityIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
description
public EvaluationSetsCreateRequest._FinalStage description(java.lang.String description)
A description of what this evaluation set is used for.
Example:
"Q4 2023 vendor invoices"- Specified by:
descriptionin interfaceEvaluationSetsCreateRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
description
public EvaluationSetsCreateRequest._FinalStage description(java.util.Optional<java.lang.String> description)
A description of what this evaluation set is used for.
Example:
"Q4 2023 vendor invoices"- Specified by:
descriptionin interfaceEvaluationSetsCreateRequest._FinalStage
-
build
public EvaluationSetsCreateRequest build()
- Specified by:
buildin interfaceEvaluationSetsCreateRequest._FinalStage
-
-