llmns
Parse, normalize, and compare llm:// references, per
llmns draft v01.
llm[s][+transport]://[credential@]host[:port]/model[@pin][?hints]
let reference: Reference =
"llms+grpc://work@triton.internal:8001/qwen3-ft@name:step-2000".parse?;
assert_eq!;
assert_eq!;
// Identity is the specification's rule: the normalized (host, model, pin)
// triple. Credential, hints, transport, and TLS do not contribute.
let other: Reference = "llm://TRITON.internal:8001/qwen3-ft@name:step-2000".parse?;
assert!;
# Ok::
Python bindings ship on PyPI as llmns.
License
MIT OR Apache-2.0