automorphic-ai/trex
View on GitHub ↗ ★ 250 Python
Enforce structured output from LLMs 100% of the time
4 mentions on Hacker News by 2 people: 1 story, 3 comments · first 2023-07-16 · latest 2023-10-04
20082026
-
A friend of mine built a tool called Trex that you might find helpful, check it out here: https://github.com/automorphic-ai/trex It's very consistent at generating templated data.
comment by awesomehry · 2023-10-04 · in Show HN: Generate JSON mock data for testing/initial app development -
This is what we did at Trex ( https://github.com/automorphic-ai/trex ). The tricky part is doing it quickly and efficiently.
comment by sandkoan · 2023-08-15 · in Show HN: LLMs can generate valid JSON 100% of the time -
Also using a similar method: https://github.com/automorphic-ai/trex Playground: https://automorphic.ai/playground
comment by sandkoan · 2023-07-21 · in Llama: Add grammar-based sampling -
▲ 174
Show HN: Structured output from LLMs without repromptingstory by sandkoan · 2023-07-16 · 54 comments