olivierDuchenne/LLM_json_schema
Guaranty the output of an LLM to follow a json schema.
This tool helps AI application developers ensure that the text generated by a Large Language Model (LLM) always conforms to a specific JSON structure. You provide a natural language prompt and a desired JSON schema, and it outputs the LLM's response formatted exactly as you specified. It's designed for engineers building robust applications that rely on structured data from LLMs.
No commits in the last 6 months.
Use this if you need to reliably extract structured data like lists, objects, strings, numbers, or booleans from an LLM's output for further processing in your applications.
Not ideal if your primary goal is free-form text generation or if you are not comfortable working with LLM models and JSON schemas programmatically.
Stars
25
Forks
—
Language
Python
License
MIT
Category
Last pushed
Dec 06, 2023
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/olivierDuchenne/LLM_json_schema"
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