Package dev.braintrust.devserver
Class RemoteEval.Parameter.Builder
java.lang.Object
dev.braintrust.devserver.RemoteEval.Parameter.Builder
- Enclosing class:
- RemoteEval.Parameter
-
Method Summary
Modifier and TypeMethodDescriptionbuild()defaultValue(Object defaultValue) Optional default value for the parameterdescription(String description) Optional description of the parameterJSON Schema for data type parameters.toString()type(RemoteEval.ParameterType type) Type of parameter: "prompt" or "data"
-
Method Details
-
type
Type of parameter: "prompt" or "data"- Returns:
this.
-
description
Optional description of the parameter- Returns:
this.
-
defaultValue
Optional default value for the parameter- Returns:
this.
-
schema
JSON Schema for data type parameters. Only applicable when type is DATA. Should be a Map representing a JSON Schema object.- Returns:
this.
-
build
-
toString
-