jina.types.arrays.doc_groundtruth

class jina.types.arrays.doc_groundtruth.DocumentGroundtruthSequence(pairs)[source]

Bases: jina.types.arrays.traversable.TraversableSequence

DocumentGroundtruthSequence holds a list of DocGrundtruthPair objects. It is mostly intented to be used with Evaluators.

Parameters

pairs (Sequence[ForwardRef]) – a sequence of DocGrundtruthPair objects.

A mixin used for traversing a Sequence[Traversable].