nova-land/gbnf-compiler

Plug n Play GBNF Compiler for llama.cpp

46
/ 100
Emerging

This tool helps developers control the exact format of responses from large language models (LLMs) running on llama.cpp. You provide a template defining the desired structure, like "I choose {{tool}} because {{reason}}", and a grammar is generated. The LLM then outputs text adhering to this grammar, which can be parsed back into structured data like a dictionary. It's for developers building applications that need reliable, structured output from LLMs.

No commits in the last 6 months. Available on PyPI.

Use this if you need to ensure an LLM's free-form text output conforms to a specific, predefined structure, whether for extracting key information or guiding conversation flow.

Not ideal if you're looking for a user-friendly interface to build applications or if you don't require fine-grained control over LLM output grammar.

LLM-application-development prompt-engineering structured-data-extraction chatbot-development
Stale 6m No Dependents
Maintenance 0 / 25
Adoption 7 / 25
Maturity 25 / 25
Community 14 / 25

How are scores calculated?

Stars

28

Forks

5

Language

Python

License

MIT

Last pushed

Nov 08, 2023

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/transformers/nova-land/gbnf-compiler"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.