MCPcopy Create free account
hub / github.com/abetlen/llama-cpp-python / BuiltinRule

Class BuiltinRule

llama_cpp/llama_grammar.py:310–313  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

308
309
310class BuiltinRule:
311 def __init__(self, content: str, deps: list = None):
312 self.content = content
313 self.deps = deps or []
314
315
316_up_to_15_digits = _build_repetition("[0-9]", 0, 15)

Callers 1

llama_grammar.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…