RunRequest class
Constructors
- RunRequest({required String dataset, JudgeSpec? judge, int? limit, required String model, String? runName})
- Returns a new RunRequest instance.
Properties
- dataset ↔ String
-
Dataset is the set to score, which must belong to the caller's org and hold at least one ACTIVE example.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- judge ↔ JudgeSpec?
-
Judge is the judge to grade with. Omitted, the model under test grades itself against a default correctness criterion under the score name "llm-judge".
getter/setter pair
- limit ↔ int?
-
Limit caps how many examples this run scores. It defaults to 20, and anything above 100 falls back to that default.
getter/setter pair
- model ↔ String
-
Model is the model under test.
getter/setter pair
- runName ↔ String?
-
RunName labels the run and is generated from the clock when omitted. It must match ^
A-Za-z0-9._-{0,63}$.getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
dynamic value) → RunRequest? -
Returns a new RunRequest instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< RunRequest> -
mapFromJson(
dynamic json) → Map< String, RunRequest> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< RunRequest> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.