automorphic-ai/trex
Enforce structured output from LLMs 100% of the time
This tool helps data analysts, researchers, or anyone working with text to reliably extract specific, formatted information. You provide text and a template (like a regular expression or JSON schema), and it returns the text restructured exactly to your specifications. This is for users who need consistent, machine-readable data from free-form text.
251 stars. No commits in the last 6 months.
Use this if you frequently process unstructured text and need to transform it into a predictable, structured format, such as extracting specific fields into a JSON object or conforming to a regex pattern.
Not ideal if your primary need is general text generation or summarization without strict output formatting requirements.
Stars
251
Forks
8
Language
Python
License
MIT
Category
Last pushed
Jul 20, 2024
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/transformers/automorphic-ai/trex"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
varunshenoy/super-json-mode
Low latency JSON generation using LLMs ⚡️
Giulz85/JsonToLLM
JsonToLLM is a C# library that transforms standard JSON into a format optimized for...
taranjeet/llmformatter
Get deterministic output in any format like json from any LLM.
arrangedev/jsonformer-ts
Structured JSON outputs from LLMs