outlines_core::json_schema

Function build_regex_from_schema

Source
pub fn build_regex_from_schema(
    json: &str,
    whitespace_pattern: Option<&str>,
) -> Result<String, JsonSchemaParserError>