promplate/partial-json-parser
Parse partial JSON generated by LLM
This tool helps developers working with large language models (LLMs) to reliably extract structured information, even when the LLM's output is incomplete. It takes a partial JSON string as input and outputs a valid, parseable JSON object or a completed JSON string. AI/ML engineers and developers building LLM-powered applications would use this to ensure continuous data flow from their models.
121 stars. Used by 4 other packages. Available on PyPI.
Use this if you are developing applications that rely on LLMs to output structured data in JSON format and need to process that data as it streams in, even before the full response is received.
Not ideal if your application does not involve LLMs, stream processing, or the specific need to parse incomplete JSON strings.
Stars
121
Forks
9
Language
Python
License
MIT
Category
Last pushed
Nov 28, 2025
Commits (30d)
0
Reverse dependents
4
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/prompt-engineering/promplate/partial-json-parser"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related tools
promptslab/Promptify
Prompt Engineering | Prompt Versioning | Use GPT or other prompt based models to get structured...
masci/banks
LLM prompt language based on Jinja. Banks provides tools and functions to build prompts text and...
character-ai/prompt-poet
Streamlines and simplifies prompt design for both developers and non-technical users with a low...
Hunyuan-PromptEnhancer/PromptEnhancer
PromptEnhancer is a prompt-rewriting tool, refining prompts into clearer, structured versions...
narenaryan/promptml
Prompt markup language (A.K.A PromptML) library is specially built for AI systems - from Vidura AI