Skip to content

Integrate other structured generation backends #1654

@RobinPicard

Description

@RobinPicard

Outlines currently rely on outlines-core for creating the logits processor that does the actual logits biasing for local models. The idea would be to allow users to select alternative structured generation libraries to do that such as xgrammar or llguidance.

For this we will use a plugin system with a registry of backends.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions