Issues with Guided Decoding Conformance to JSON Schema in vllm #1229
Unanswered
justHungryMan
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Could you provide the JSON Schema? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I’m currently using vllm to work with outlines, and I’m incorporating jsonschema for guided decoding. However, it seems like the responses aren’t fully conforming to the jsonschema. Here are a couple of issues I’ve encountered:
For validation, I’m providing jsonschema as guided_json and then validating the generated data against it. Is this behavior expected, or could this be a bug?
Sample Code
Let me know if there’s anything I might be overlooking. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions