Skip to main content

Module data

Module data 

Source
Expand description

Data record and sample batch types.

Re-exports§

pub use crate::types::RecordId;
pub use crate::types::Sentence;
pub use crate::types::SourceId;
pub use crate::types::TaxonomyValue;

Structs§

DataRecord
Canonical record payload produced by a DataSource.
QualityScore
Trust/quality metadata for a record.
RecordChunk
A chunked view over a section.
RecordSection
A structured section within a record.
SampleBatch
Batch of pairs.
SamplePair
Sample pair (positive/negative) derived from a triplet.
SampleTriplet
Sample triplet (anchor/positive/negative).
TextBatch
Batch of text samples.
TextSample
A single text sample (chunk + weight).
TripletBatch
Batch of triplets.

Enums§

ChunkView
Chunk view metadata (window or summary).
PairLabel
Pair label for supervised pair batches.
SectionRole
Role label for a section.