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

Method __init__

llama_cpp/llama_grammar.py:311–313  ·  view source on GitHub ↗
(self, content: str, deps: list = None)

Source from the content-addressed store, hash-verified

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

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected