@astermind/astermind-synth
Version:
OmegaSynth - Label-Conditioned Synthetic Data Generator for AsterMind ELM/KELM Pipelines
42 lines (41 loc) • 1.12 kB
TypeScript
/**
* ExactGenerator - Perfect retrieval with pattern-based variations
* Provides 100% realistic data by using exact training samples + pattern matching
*/
import { LabeledSample } from '../types';
export interface ExactGeneratorConfig {
seed?: number;
usePatternMatching?: boolean;
maxVariations?: number;
}
export declare class ExactGenerator {
private retrieval;
private patternCorrector;
private config;
private trainingSamples;
constructor(config?: ExactGeneratorConfig);
/**
* Train the exact generator
*/
train(samples: LabeledSample[]): void;
/**
* Generate an exact sample (100% realistic)
*/
generate(label: string, seed?: number): string;
/**
* Generate with pattern-based variations
*/
generateWithVariation(label: string, seed?: number): string;
/**
* Generate multiple exact samples
*/
generateBatch(label: string, count: number): string[];
/**
* Get all available labels
*/
getLabels(): string[];
/**
* Check if generator is trained
*/
isTrained(): boolean;
}