Class EvaluationSetCreateRequest.Builder
- java.lang.Object
-
- ai.extend.resources.evaluationset.requests.EvaluationSetCreateRequest.Builder
-
- All Implemented Interfaces:
EvaluationSetCreateRequest._FinalStage,EvaluationSetCreateRequest.DescriptionStage,EvaluationSetCreateRequest.NameStage,EvaluationSetCreateRequest.ProcessorIdStage
- Enclosing class:
- EvaluationSetCreateRequest
public static final class EvaluationSetCreateRequest.Builder extends java.lang.Object implements EvaluationSetCreateRequest.NameStage, EvaluationSetCreateRequest.DescriptionStage, EvaluationSetCreateRequest.ProcessorIdStage, EvaluationSetCreateRequest._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EvaluationSetCreateRequestbuild()EvaluationSetCreateRequest.ProcessorIdStagedescription(java.lang.String description)A description of what this evaluation set is used for.EvaluationSetCreateRequest.Builderfrom(EvaluationSetCreateRequest other)EvaluationSetCreateRequest.DescriptionStagename(java.lang.String name)The name of the evaluation set.EvaluationSetCreateRequest._FinalStageprocessorId(java.lang.String processorId)The ID of the processor to create an evaluation set for.
-
-
-
Method Detail
-
from
public EvaluationSetCreateRequest.Builder from(EvaluationSetCreateRequest other)
- Specified by:
fromin interfaceEvaluationSetCreateRequest.NameStage
-
name
public EvaluationSetCreateRequest.DescriptionStage 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 interfaceEvaluationSetCreateRequest.NameStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
description
public EvaluationSetCreateRequest.ProcessorIdStage description(@NotNull java.lang.String description)
A description of what this evaluation set is used for.
Example:
"Q4 2023 vendor invoices"A description of what this evaluation set is used for.
Example:
"Q4 2023 vendor invoices"- Specified by:
descriptionin interfaceEvaluationSetCreateRequest.DescriptionStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
processorId
public EvaluationSetCreateRequest._FinalStage processorId(@NotNull java.lang.String processorId)
The ID of the processor to create an evaluation set for. Evaluation sets can in theory be run against any processor, but it is required to associate the evaluation set with a primary processor.
Example:
"dp_Xj8mK2pL9nR4vT7qY5wZ"The ID of the processor to create an evaluation set for. Evaluation sets can in theory be run against any processor, but it is required to associate the evaluation set with a primary processor.
Example:
"dp_Xj8mK2pL9nR4vT7qY5wZ"- Specified by:
processorIdin interfaceEvaluationSetCreateRequest.ProcessorIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public EvaluationSetCreateRequest build()
- Specified by:
buildin interfaceEvaluationSetCreateRequest._FinalStage
-
-