knowsuchagency/struct-gpt
get structured output from LLM's
This tool helps developers reliably get structured data, like sentiment scores or categorized information, from large language models (LLMs). You input a natural language prompt describing what you want and example text, and it outputs a well-formatted JSON object, ensuring the LLM's response adheres to a predefined structure. It's designed for software developers building applications that integrate with LLMs and need predictable, parseable results.
No commits in the last 6 months. Available on PyPI.
Use this if you are a developer building an application with an LLM and need its responses to consistently follow a specific data format, like JSON, for further processing.
Not ideal if you just want to interact with an LLM for conversational purposes or ad-hoc queries without needing structured output.
Stars
31
Forks
1
Language
Python
License
MIT
Category
Last pushed
May 09, 2023
Commits (30d)
0
Dependencies
3
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/knowsuchagency/struct-gpt"
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