ModelStat class
Constructors
Properties
- completionTokens ↔ int?
-
tokens it answered with
getter/setter pair
- costCents ↔ int?
-
what this model cost, in cents
getter/setter pair
- costPct ↔ num?
-
share of total spend, 0..100
getter/setter pair
- errorRate ↔ num?
-
share of its calls that failed, 0..1
getter/setter pair
- errors ↔ int?
-
calls to it that did not succeed
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- model ↔ String?
-
the model this row is about, or "other" for the fold
getter/setter pair
- modelCount ↔ int?
-
0 only on the "other" fold
getter/setter pair - p50Ms ↔ num?
-
median latency, null when no spans carry it
getter/setter pair
- p95Ms ↔ num?
-
95th-percentile latency, null when unknown
getter/setter pair
- p99Ms ↔ num?
-
99th-percentile latency, null when unknown
getter/setter pair
- promptTokens ↔ int?
-
tokens sent to it
getter/setter pair
- provider ↔ String?
-
who serves it
getter/setter pair
- requests ↔ int?
-
calls to this model in the window
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalTokens ↔ int?
-
prompt plus completion
getter/setter pair
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) → ModelStat? -
Returns a new ModelStat instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< ModelStat> -
mapFromJson(
dynamic json) → Map< String, ModelStat> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< ModelStat> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.