Trace
Class: Trace
Defined in: src/types/log.types.ts:104
Extends
Constructors
Constructor
Defined in: src/types/log.types.ts:109
Parameters
data
createdAtNs?
number
durationNs?
number
groundTruth?
string
input
StepIOType
metadata?
Record
<string
, string
>
name?
string
output?
StepIOType
spans?
Span
[]
statusCode?
number
tags?
string
[]
Returns
Trace
Overrides
StepWithChildSpans
.constructor
Properties
createdAtNs
Defined in: src/types/step.types.ts:56
Inherited from
StepWithChildSpans
.createdAtNs
durationNs
Defined in: src/types/step.types.ts:57
Inherited from
externalId?
Defined in: src/types/step.types.ts:64
Inherited from
groundTruth?
Defined in: src/types/step.types.ts:60
Inherited from
StepWithChildSpans
.groundTruth
input
Defined in: src/types/log.types.ts:106
Overrides
metrics
Defined in: src/types/step.types.ts:63
Inherited from
modelConfig?
Defined in: src/types/step.types.ts:61
Inherited from
StepWithChildSpans
.modelConfig
name
Defined in: src/types/step.types.ts:55
Inherited from
output
Defined in: src/types/log.types.ts:107
Overrides
spans
Defined in: src/types/log.types.ts:67
Inherited from
statusCode?
Defined in: src/types/step.types.ts:59
Inherited from
tags?
Defined in: src/types/step.types.ts:62
Inherited from
type
Defined in: src/types/log.types.ts:105
Overrides
userMetadata
Defined in: src/types/step.types.ts:58
Inherited from
StepWithChildSpans
.userMetadata
Methods
addChildSpan()
Defined in: src/types/log.types.ts:96
Parameters
spans
…Span
[]
Returns
void
Inherited from
StepWithChildSpans
.addChildSpan
children()
Defined in: src/types/log.types.ts:92
Returns
BaseStep
[]
Inherited from
toJSON()
Defined in: src/types/log.types.ts:132
Returns
Record
<string
, any
>
Overrides
validateInputOutputSerializable()
Defined in: src/types/step.types.ts:97
Parameters
val
StepIOType
Returns
StepIOType