pub fn new(value: f32) -> Result<Self, String> {
        if Self::is_valid(value) {
            Ok(Self(value))
        } else {
            Err(format!("top_p must be between 0.0 and 1.0, got {value}"))
        }
    }
Creates a new TopP value, returning an error if outside the valid
range (0.0 to 1.0)
crates/forge_domain/src/top_p.rs