Parth Sareen
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
5 additions and
5 deletions
-
llm/server.go
|
|
|
@ -640,20 +640,20 @@ root ::= object |
|
|
|
value ::= object | array | string | number | ("true" | "false" | "null") ws |
|
|
|
object ::= |
|
|
|
"{" ws ( |
|
|
|
string ":" ws value |
|
|
|
string ":" ws value |
|
|
|
("," ws string ":" ws value)* |
|
|
|
)? "}" ws |
|
|
|
)? ws "}" |
|
|
|
array ::= |
|
|
|
"[" ws ( |
|
|
|
value |
|
|
|
("," ws value)* |
|
|
|
)? "]" ws |
|
|
|
)? ws "]" |
|
|
|
string ::= |
|
|
|
"\"" ( |
|
|
|
[^"\\\x7F\x00-\x1F] | |
|
|
|
"\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]) # escapes |
|
|
|
)* "\"" ws |
|
|
|
number ::= ("-"? ([0-9] | [1-9] [0-9]*)) ("." [0-9]+)? ([eE] [-+]? [0-9]+)? ws |
|
|
|
)* "\"" |
|
|
|
number ::= ("-"? ([0-9] | [1-9] [0-9]*)) ("." [0-9]+)? ([eE] [-+]? [0-9]+)? |
|
|
|
# Optional space: by convention, applied in this grammar after literal chars when allowed |
|
|
|
ws ::= ([ \t\n] ws)? |
|
|
|
` |
|
|
|
|