StepWithChildSpans
Class: StepWithChildSpans
Defined in: src/types/log.types.ts:63
Extends
BaseStepWithChildren
Extended by
Implements
IStepWithChildSpans
Constructors
Constructor
Defined in: src/types/log.types.ts:69
Parameters
data
createdAtNs?
number
durationNs?
number
groundTruth?
string
input
StepIOType
metadata?
Record
<string
, string
>
name?
string
output?
StepIOType
spans?
Span
[]
statusCode?
number
type?
Returns
StepWithChildSpans
Overrides
Properties
createdAtNs
Defined in: src/types/step.types.ts:56
Inherited from
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
input
Defined in: src/types/step.types.ts:53
Inherited from
metrics
Defined in: src/types/step.types.ts:63
Inherited from
modelConfig?
Defined in: src/types/step.types.ts:61
Inherited from
name
Defined in: src/types/step.types.ts:55
Inherited from
output
Defined in: src/types/step.types.ts:54
Inherited from
spans
Defined in: src/types/log.types.ts:67
Implementation of
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/step.types.ts:52
Inherited from
userMetadata
Defined in: src/types/step.types.ts:58
Inherited from
Methods
addChildSpan()
Defined in: src/types/log.types.ts:96
Parameters
spans
…Span
[]
Returns
void
Implementation of
children()
Defined in: src/types/log.types.ts:92
Returns
BaseStep
[]
Implementation of
Overrides
toJSON()
Defined in: src/types/log.types.ts:85
Returns
Record
<string
, any
>
Overrides
validateInputOutputSerializable()
Defined in: src/types/step.types.ts:97
Parameters
val
StepIOType
Returns
StepIOType