Skip to content

consolidate between llguidance and xgrammar #1004

@jakelorocco

Description

@jakelorocco

For structured decoding, we utilize llguidance in our regular Mellea code. For intrinsics that utilize granite formatters, we utilize xgrammar. We should see if we can consolidate to llguidance.

The person who takes this task should check in with Fred to see why xgrammar was originally chosen.

Metadata

Metadata

Assignees

Labels

area/backendsProvider-specific work: Ollama, HF, LiteLLM, OpenAI, Bedrock, vLLMarea/formatterOutput formatters, structured output, GraniteFormatter, JSON schema formattingarea/intrinsicsGranite intrinsic adapters: RAG, Guardian, Corearea/stdlibCore abstractions: Context, MOT, SamplingStrategy, formatters, serializationenhancementNew feature or requestneeds-designProblem is clear; implementation approach needs design discussion before work starts

Type

No fields configured for Task.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions