Package com.braintrustdata.api.models
Class EvalCreateParams.Task.GlobalFunction
-
- All Implemented Interfaces:
public final class EvalCreateParams.Task.GlobalFunctionGlobal function name
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classEvalCreateParams.Task.GlobalFunction.BuilderA builder for GlobalFunction.
-
Method Summary
Modifier and Type Method Description final StringglobalFunction()The name of the global function. final JsonField<String>_globalFunction()Returns the raw JSON value of globalFunction. final Map<String, JsonValue>_additionalProperties()final EvalCreateParams.Task.GlobalFunctionvalidate()final EvalCreateParams.Task.GlobalFunction.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static EvalCreateParams.Task.GlobalFunction.Builderbuilder()Returns a mutable builder for constructing an instance of GlobalFunction. -
-
Method Detail
-
globalFunction
final String globalFunction()
The name of the global function. Currently, the global namespace includes the functions in autoevals
-
_globalFunction
final JsonField<String> _globalFunction()
Returns the raw JSON value of globalFunction.
Unlike globalFunction, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final EvalCreateParams.Task.GlobalFunction validate()
-
toBuilder
final EvalCreateParams.Task.GlobalFunction.Builder toBuilder()
-
builder
final static EvalCreateParams.Task.GlobalFunction.Builder builder()
Returns a mutable builder for constructing an instance of GlobalFunction.
The following fields are required:
.globalFunction()
-
-
-
-