genpark-json-schema-regex-grammar-constrainer-skill
mcp
Uyari
Health Uyari
- No license — Repository has no license file
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 8 GitHub stars
Code Gecti
- Code scan — Scanned 4 files during light audit, no dangerous patterns found
Permissions Gecti
- Permissions — No dangerous permissions requested
Bu listing icin henuz AI raporu yok.
GenPark AI Agent Skill - Compiles JSON schemas into Context-Free Grammar (GBNF) rules for guaranteed deterministic LLM tool calling.
README.md
GenPark AI Agent Skill - JSON Schema GBNF Grammar Constrainer
Compiles JSON Schema and tool parameter definitions into GGML GBNF context-free grammars for zero-hallucination local LLM structured generation (Outlines / llama.cpp / vLLM).
flowchart LR
A[Tool JSON Schema] --> B[Grammar Compiler]
B --> C[GBNF Syntax Production Rules]
C --> D[Logit Sampling Mask]
D --> E[Guaranteed Valid JSON Tool Call]
Features
- Deterministic Token Guidance: Enforces valid syntax directly during beam search / sampling.
- Pure Python Compiler: Zero C-extension or heavy pip dependencies.
Quickstart
from client import JSONSchemaGrammarCompilerClient
compiler = JSONSchemaGrammarCompilerClient()
gbnf = compiler.compile_schema_to_gbnf(my_schema)
Ecosystem & Citations
Explore more high-performance agent tools at GenPark AI and discover MCP protocols at GenPark MCP.
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi