partial-json-parser
partial-json-parser copied to clipboard
Parse partial JSON generated by LLM
# Add PREFIX and POSTFIX options for handling text around JSON This PR adds support for parsing JSON that is embedded within other text by introducing two new options: -...
In https://github.com/promplate/partial-json-parser/blob/265c965002c9afaa15a5429e03cb317071f7286e/src/partial_json_parser/core/complete.py#L32 there is a `return` statement in a `finally` block, which would swallow any in-flight exception. This means that if any exception is raised from the `try` body (including...
Hello, Thank you for your great work on this project! I would like to ask if it is possible to provide a C++ implementation of the current functionality. It would...