BHznJNs/xml-patcher
A LLM API proxy that can patches the wrong XML tool call instructions.
This is a developer tool designed for engineers working with Large Language Models (LLMs). It acts as a middleman for LLM API calls, automatically correcting malformed XML output that an LLM might generate. You feed it the LLM's raw output, and it provides correctly formatted XML, ensuring your applications can reliably parse and use the LLM's tool call instructions. This is for developers building applications that interface with LLMs and rely on structured XML outputs.
No commits in the last 6 months.
Use this if your LLM is inconsistently generating XML tool call instructions, leading to parsing errors in your applications.
Not ideal if your application doesn't use XML for LLM tool calls or if your LLM consistently produces correctly formatted XML.
Stars
8
Forks
1
Language
TypeScript
License
—
Category
Last pushed
Aug 19, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/BHznJNs/xml-patcher"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
mangiucugna/json_repair
A python module to repair invalid JSON from LLMs
antfu/shiki-stream
Streaming highlighting with Shiki. Useful for highlighting text streams like LLM outputs.
iw4p/partialjson
+1M Downloads! Repair invalid LLM JSON, commonly used to parse the output of LLMs — Parsing...
yokingma/fetch-sse
An easy API for making Event Source requests, with all the features of fetch(), Supports...
kaptinlin/jsonrepair
A high-performance Golang library for easily repairing invalid JSON documents. Designed to fix...