You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I give the JSON output in the example and add a line like "Only use the fields given in the example" in the prompt, the output is constrained to only the keys given in the example. I didn't the outlines library at all. Hope this helps!
Anything you want to discuss about vllm.
Here is my guided_json
guided_json = {"type": "object", "properties": { "age": {"type": "string", "pattern": r"^Fifty"}, "height": {"type": "string", "pattern": r"^five"}}}
I want to enforce the initial string in each of the keys, is this supported? And how can I go about doing this?
The text was updated successfully, but these errors were encountered: