Skip to main content

conditioning_profile_activate

Function conditioning_profile_activate 

Source
pub fn conditioning_profile_activate(
    profile_json: String,
) -> Result<Value, String>
Expand description

Validate (by compiling) and activate a semantic conditioning profile for all inference routes. The prior profile is replaced atomically enough for a single-user store: activation only succeeds when the new profile compiles, so a bad document can never displace a working one.