Skip to content

Does LMFE_STRICT_JSON_FIELD_ORDER not work? #233

Description

@endolith

I tried to enable LMFE_STRICT_JSON_FIELD_ORDER = true in the env vars in Runpod but it still allows the LLM to output json in whatever order it wants (such as outputting the actual response first and the reasoning behind it second).

Outlines is also supposed to enforce order, but doesn't in practice.

https://github.com/noamgat/lm-format-enforcer?tab=readme-ov-file#configuration-options

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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