Discover and explore top open-source AI tools and projects—updated daily.
automorphic-aiEnforce 100% structured LLM output
Top 99.9% on SourcePulse
Trex addresses the challenge of reliably extracting structured data from Large Language Models (LLMs). It targets developers and data engineers who require deterministic, schema-compliant output from LLM generations, offering a significant benefit by guaranteeing data conformity through user-defined grammars.
How It Works
Trex transforms unstructured text into structured data by leveraging user-specified regular expressions (regex) or context-free grammars (CFG). The system intelligently restructures LLM outputs to precisely conform to the defined schema, ensuring predictable and usable structured data. This approach provides a robust mechanism for enforcing data integrity post-generation.
Quick Start & Requirements
pip install git+https://github.com/automorphic-ai/trex.gitHighlighted Details
Maintenance & Community
Join their Discord server or follow on Twitter for updates, discussions, and contributions. For assistance or inquiries, contact them via email.
Licensing & Compatibility
The repository's license is not explicitly stated in the provided README. Compatibility for commercial use or closed-source linking is therefore undetermined.
Limitations & Caveats
Features such as auto-prompt generation for unstructured ETL and integration with more advanced models are listed as future work, suggesting current reliance on manual prompt engineering and existing model capabilities. Self-hosting requires direct engagement with the developers.
1 year ago
Inactive
kyang6
finic-ai
google