pub struct ScenarioGeneratorConfig {
pub total_count: u32,
pub schema_derived_ratio: f64,
pub adversarial_ratio: f64,
pub domain_seeded_ratio: f64,
pub llm_base_url: Option<String>,
pub llm_api_key: Option<String>,
pub llm_model: Option<String>,
pub agent_id: Uuid,
}Expand description
Configuration for scenario generation.
Fields§
§total_count: u32§schema_derived_ratio: f64Fraction of scenarios generated via schema-derived strategy (default: 0.5)
adversarial_ratio: f64Fraction of scenarios generated adversarially (default: 0.3)
domain_seeded_ratio: f64Fraction of scenarios generated via domain seeding (default: 0.2)
llm_base_url: Option<String>OpenAI-compatible LLM base URL for domain-seeded generation (optional)
llm_api_key: Option<String>§llm_model: Option<String>§agent_id: UuidImplementations§
Trait Implementations§
Source§impl Clone for ScenarioGeneratorConfig
impl Clone for ScenarioGeneratorConfig
Source§fn clone(&self) -> ScenarioGeneratorConfig
fn clone(&self) -> ScenarioGeneratorConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScenarioGeneratorConfig
impl Debug for ScenarioGeneratorConfig
Auto Trait Implementations§
impl Freeze for ScenarioGeneratorConfig
impl RefUnwindSafe for ScenarioGeneratorConfig
impl Send for ScenarioGeneratorConfig
impl Sync for ScenarioGeneratorConfig
impl Unpin for ScenarioGeneratorConfig
impl UnsafeUnpin for ScenarioGeneratorConfig
impl UnwindSafe for ScenarioGeneratorConfig
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