nadeesha/structlm

Token-efficient schema definition for getting structured output from LLMs.

38
/ 100
Emerging

This helps developers working with Large Language Models (LLMs) to define and enforce specific data formats for the LLM's output. You input a clearly defined schema (a blueprint for your data), and the LLM then generates structured data that precisely matches that blueprint. This tool is ideal for software engineers, AI/ML engineers, and data scientists who need to ensure LLM responses are consistent and usable by other systems.

No commits in the last 6 months. Available on npm.

Use this if you need a token-efficient way to guide LLMs to produce structured data that adheres to a precise, custom schema, and you also need to validate the LLM's output against that schema.

Not ideal if you just need free-form text generation from an LLM, or if you are not a developer and don't work with LLM integrations or TypeScript/JavaScript.

LLM integration data extraction structured output prompt engineering data validation
Stale 6m
Maintenance 2 / 25
Adoption 4 / 25
Maturity 24 / 25
Community 8 / 25

How are scores calculated?

Stars

8

Forks

1

Language

TypeScript

License

Apache-2.0

Last pushed

Aug 03, 2025

Commits (30d)

0

Dependencies

1

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/nadeesha/structlm"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.