Unverified Commit 04553371 authored by Chauncey's avatar Chauncey Committed by GitHub
Browse files

[CI] xgrammar structured output supports Enum. (#15757)


Signed-off-by: default avatarchaunceyjiang <chaunceyjiang@gmail.com>
parent 3c0ff914
......@@ -13,10 +13,6 @@ def unsupported_string_schemas():
"type": "string",
"pattern": "^[a-zA-Z]+$"
},
{
"type": "string",
"enum": ["active", "inactive", "pending"]
},
{
"type": "string",
"minLength": 1
......@@ -164,6 +160,10 @@ def supported_schema():
"type": "number"
}
},
"car_type": {
"type": "string",
"enum": ["sedan", "suv", "truck"]
},
"address": {
"type": "object",
"properties": {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment