prism-inference 0.1.0

Bounded Rust CPU inference and tokenization for Prism-compatible GGUF models
Documentation
//! Sorted builtin names from the pinned MIT-licensed production Jinja maps.

pub(super) const INVENTORY: &[(&str, &[&str])] = &[
    (
        "global",
        &[
            "namespace",
            "raise_exception",
            "range",
            "strftime_now",
            "test_is_boolean",
            "test_is_callable",
            "test_is_defined",
            "test_is_divisibleby",
            "test_is_eq",
            "test_is_equalto",
            "test_is_escaped",
            "test_is_even",
            "test_is_false",
            "test_is_filter",
            "test_is_float",
            "test_is_ge",
            "test_is_greaterthan",
            "test_is_gt",
            "test_is_in",
            "test_is_integer",
            "test_is_iterable",
            "test_is_lessthan",
            "test_is_lower",
            "test_is_lt",
            "test_is_mapping",
            "test_is_ne",
            "test_is_none",
            "test_is_number",
            "test_is_odd",
            "test_is_sameas",
            "test_is_sequence",
            "test_is_string",
            "test_is_test",
            "test_is_true",
            "test_is_undefined",
            "test_is_upper",
            "tojson",
        ],
    ),
    (
        "int",
        &["abs", "default", "float", "int", "safe", "string", "tojson"],
    ),
    (
        "float",
        &["abs", "default", "float", "int", "safe", "string", "tojson"],
    ),
    (
        "string",
        &[
            "capitalize",
            "default",
            "endswith",
            "float",
            "format",
            "indent",
            "int",
            "join",
            "length",
            "lower",
            "lstrip",
            "replace",
            "rsplit",
            "rstrip",
            "safe",
            "slice",
            "split",
            "startswith",
            "string",
            "strip",
            "title",
            "tojson",
            "upper",
        ],
    ),
    (
        "array",
        &[
            "append",
            "default",
            "first",
            "join",
            "last",
            "length",
            "list",
            "map",
            "max",
            "min",
            "pop",
            "reject",
            "rejectattr",
            "reverse",
            "select",
            "selectattr",
            "slice",
            "sort",
            "string",
            "tojson",
            "unique",
        ],
    ),
    (
        "object",
        &[
            "dictsort", "get", "items", "join", "keys", "length", "string", "tojson", "values",
        ],
    ),
];