pub struct GenerateSyntheticDataResponse {Show 13 fields
pub calibration_report: Option<CalibrationReportDto>,
pub dataset_statistics: Option<DatasetStatisticsDto>,
pub diversity_filtered_count: u64,
pub enhanced_dataset_jsonl: Option<String>,
pub enhanced_negatives: Vec<NegativeExampleDto>,
pub enhanced_negatives_count: u64,
pub examples: Vec<TrainingExampleDto>,
pub mixing_stats: DataMixingStatsDto,
pub report: GenerationReportDto,
pub round_trip_result: Option<VerifyRoundTripResponse>,
pub synthetic_terms_count: u64,
pub training_pairs_count: u64,
pub verbalizations: Vec<VerbalizationResultDto>,
}Expand description
Response from synthetic data generation.
Fields§
§calibration_report: Option<CalibrationReportDto>§dataset_statistics: Option<DatasetStatisticsDto>§diversity_filtered_count: u64P2: Number of terms filtered by diversity checking.
enhanced_dataset_jsonl: Option<String>P3: Enhanced dataset JSONL export (if built).
enhanced_negatives: Vec<NegativeExampleDto>Enhanced negative examples with provenance.
enhanced_negatives_count: u64Number of enhanced negative examples generated.
examples: Vec<TrainingExampleDto>Serialized training examples ready for JSONL export.
mixing_stats: DataMixingStatsDtoData mixing statistics.
report: GenerationReportDtoGeneration report with per-strategy statistics.
round_trip_result: Option<VerifyRoundTripResponse>§synthetic_terms_count: u64Number of synthetic terms generated (before format expansion).
training_pairs_count: u64Number of training pairs created (all formats).
verbalizations: Vec<VerbalizationResultDto>Verbalized text for generated terms.
Implementations§
Trait Implementations§
Source§impl Clone for GenerateSyntheticDataResponse
impl Clone for GenerateSyntheticDataResponse
Source§fn clone(&self) -> GenerateSyntheticDataResponse
fn clone(&self) -> GenerateSyntheticDataResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for GenerateSyntheticDataResponse
impl<'de> Deserialize<'de> for GenerateSyntheticDataResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<GenerateSyntheticDataResponse> for GenerateSyntheticDataResponse
impl From<GenerateSyntheticDataResponse> for GenerateSyntheticDataResponse
Source§fn from(value: GenerateSyntheticDataResponse) -> Self
fn from(value: GenerateSyntheticDataResponse) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GenerateSyntheticDataResponse
impl PartialEq for GenerateSyntheticDataResponse
Source§fn eq(&self, other: &GenerateSyntheticDataResponse) -> bool
fn eq(&self, other: &GenerateSyntheticDataResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<GenerateSyntheticDataResponse> for GenerateSyntheticDataResponse
impl TryFrom<GenerateSyntheticDataResponse> for GenerateSyntheticDataResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: GenerateSyntheticDataResponse,
) -> Result<Self, ConversionError>
fn try_from( value: GenerateSyntheticDataResponse, ) -> Result<Self, ConversionError>
Performs the conversion.
impl StructuralPartialEq for GenerateSyntheticDataResponse
Auto Trait Implementations§
impl Freeze for GenerateSyntheticDataResponse
impl RefUnwindSafe for GenerateSyntheticDataResponse
impl Send for GenerateSyntheticDataResponse
impl Sync for GenerateSyntheticDataResponse
impl Unpin for GenerateSyntheticDataResponse
impl UnsafeUnpin for GenerateSyntheticDataResponse
impl UnwindSafe for GenerateSyntheticDataResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more