TraceView class
Constructors
TraceView ({String ? apiKeyHash , String ? datasetItemId , String ? datasetName , String ? endTime , String ? id , Object ? input , num ? latencyMs , String ? model , String ? name , String ? output , String ? projectId , String ? runName , String ? sessionId , String ? startTime , String ? timestamp })
Returns a new TraceView instance.
Properties
apiKeyHash
↔ String ?
APIKeyHash is the non-reversible credential ref (never a plaintext key), so a trace correlates to the key that drove it without the store holding a secret.
getter/setter pair
datasetItemId
↔ String ?
ItemID is the example the call answered.
getter/setter pair
datasetName
↔ String ?
Dataset is the set the graded example came from.
getter/setter pair
endTime
↔ String ?
EndTime is when it returned.
getter/setter pair
hashCode
→ int
The hash code for this object.
no setter override
id
↔ String ?
ID is the trace's handle, the value a score points at.
getter/setter pair
input
↔ Object ?
Input is what the model was given.
getter/setter pair
latencyMs
↔ num ?
LatencyMs is EndTime-StartTime in milliseconds, nil when the trace carries no timing (so the console renders "—", never a fabricated 0).
getter/setter pair
model
↔ String ?
Model is the model that answered.
getter/setter pair
name
↔ String ?
Name is the trace's label, "eval:
getter/setter pair
output
↔ String ?
Output is what it answered.
getter/setter pair
projectId
↔ String ?
ProjectID is the sub-scope within the org the call was made under.
getter/setter pair
runName
↔ String ?
RunName is the run the call belongs to.
getter/setter pair
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
sessionId
↔ String ?
SessionID groups the calls of one run.
getter/setter pair
startTime
↔ String ?
StartTime is when the call began.
getter/setter pair
timestamp
↔ String ?
Timestamp is the trace's own clock, equal to StartTime for a timed call.
getter/setter pair