Invalid generate.json
Output with models.llamacpp
#973
Labels
bug
JSON
llama.cpp
Related to the `llama.cpp` integration
structured generation
Linked to structured generation
Related:
Describe the issue as clearly as possible:
models.llamacpp
used withgenerate.json
can result in an output which isn't valid with the pydantic schema.Steps/code to reproduce the bug:
Expected result:
An output which pydantic recognizes as valid with the schema.
Error message:
Outlines/Python version information:
Version information
Another Reproducer using
models.transformers_multimodal
The text was updated successfully, but these errors were encountered: