diff --git a/grammars/README.md b/grammars/README.md index 75c2b8e1d..d9743064e 100644 --- a/grammars/README.md +++ b/grammars/README.md @@ -179,10 +179,11 @@ space ::= | " " | "\n" [ \t]{0,20} +Here is also a non-exhaustive list of limitations & **unsupported** features: -Here is also a non-exhaustive list of **unsupported** features: - -- `minimum`, `exclusiveMinimum`, `maximum`, `exclusiveMaximum`: only supported for `"type": "integer"` for now +- `minimum`, `exclusiveMinimum`, `maximum`, `exclusiveMaximum`: only supported for `"type": "integer"` for now, not `number` +- `$ref` handling is a bit buggy (https://github.com/ggerganov/llama.cpp/issues/8073) +- [pattern](https://json-schema.org/draft/2020-12/json-schema-validation#name-pattern)s must start with `^` and end with `$` - Remote `$ref`s in the C++ version (Python & JavaScript versions fetch https refs) - Mixing `properties` w/ `anyOf` / `oneOf` in the same type (https://github.com/ggerganov/llama.cpp/issues/7703) - `string` formats `uri`, `email`