AxSynthOptions Generated TypeScript API reference. typescript api api/reference build/apidocs/Interface.AxSynthOptions.md interface AxSynthOptions

AxSynthOptions

Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/dsp/synth.ts#L17

Configuration for synthetic data generation.

Properties

PropertyTypeDescription
diversity?"none" | "semantic" | "lexical"Diversity strategy for input generation. - ‘semantic’: Use embeddings to maximize semantic diversity - ’lexical’: Use token-based diversity - ’none’: No diversity filtering (default)
domain?stringDomain context for generating relevant examples
edgeCases?string[]Edge case hints for generating challenging examples. Examples: “empty inputs”, “very long queries”, “special characters”
model?stringModel to use for generation (optional, uses teacher’s default)
teacherAxAIServiceTeacher AI to use for labeling generated inputs
temperature?numberTemperature for input generation (default: 0.8)
Docs