{ "name": "pg_grammar_guard", "abstract": "Stop a language model from naming tables and columns your database does not have", "description": "pg_grammar_guard builds a GBNF grammar from the table, column and enum names in your catalog, so a model constrained by it cannot write a name that does not exist. You can approve a grammar and check later whether the catalog still matches it. Pure SQL, no shared library.", "version": "0.5.0", "maintainer": [ "Manuel Reyes Bravo " ], "license": "apache_2_0", "provides": { "pg_grammar_guard": { "abstract": "Stop a language model from naming tables and columns your database does not have", "file": "pg_grammar_guard--0.5.0.sql", "docfile": "README.md", "version": "0.5.0" } }, "prereqs": { "runtime": { "requires": { "PostgreSQL": "11.0.0", "pg_living_assertions": "0.5.6" } } }, "resources": { "bugtracker": { "web": "https://github.com/Manuelreyesbravo/pg_grammar_guard/issues" }, "repository": { "url": "https://github.com/Manuelreyesbravo/pg_grammar_guard.git", "web": "https://github.com/Manuelreyesbravo/pg_grammar_guard", "type": "git" } }, "generated_by": "Manuel Reyes Bravo", "meta-spec": { "version": "1.0.0", "url": "https://pgxn.org/meta/spec.txt" }, "tags": [ "grammar", "llm", "structured output", "constrained decoding", "gbnf", "json schema", "catalog", "drift", "text to sql", "guard" ] }