SohamGovande/langschema
One-line LLM output parsing to boolean, enum, & Zod types
This tool helps JavaScript/TypeScript developers quickly convert the free-form text output from large language models (LLMs) into structured data types like booleans, lists, or specific categories. You provide a text prompt to an LLM and a target data structure, and it returns the LLM's response accurately formatted into that structure. It's designed for developers building applications that use LLMs and need reliable, structured outputs.
No commits in the last 6 months.
Use this if you are a JavaScript/TypeScript developer integrating LLMs into your applications and need a straightforward way to parse unstructured LLM text responses into predictable data types like true/false, categories, lists, or custom Zod schemas.
Not ideal if you are not a JavaScript/TypeScript developer or if your primary need is complex natural language processing tasks beyond simple output parsing.
Stars
8
Forks
—
Language
TypeScript
License
—
Category
Last pushed
Jul 27, 2023
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/SohamGovande/langschema"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
Ahoo-Wang/fetcher
Fetcher is not just another HTTP client—it's a complete ecosystem designed for modern web...
eric-tramel/slop-guard
Slop Scoring to Stop Slop
arena-ai/structured-logprobs
OpenAI's Structured Outputs with Logprobs
567-labs/instructor-js
structured extraction for llms
martosaur/instructor_lite
Structured outputs for LLMs in Elixir