Generate Pydantic v2 models, dataclasses, TypedDict, and msgspec.Struct from OpenAPI, JSON Schema, GraphQL, Avro, Protobuf, and raw JSON/YAML/CSV.
-
Updated
Sep 2, 2026 - Python
Generate Pydantic v2 models, dataclasses, TypedDict, and msgspec.Struct from OpenAPI, JSON Schema, GraphQL, Avro, Protobuf, and raw JSON/YAML/CSV.
Simple and powerful factories for mock data generation
Mypy plugin for static type checking of TypedDict keys inspired by TypeScript's keyof type operator.
Dict to TypedDict generation and conversion utilities for Python 📖✨
Data specifications via type hints
A Python library for merging dataclasses, TypedDicts, and Pydantic models seamlessly
Data contracts, built for modern Python
Convert TypeScript Interfaces to Python TypedDict
Design robust structured outputs for LLM applications. Learn how to enforce schema-driven responses using TypedDict, Pydantic Output Parsers, and LangChain—especially for open-source LLMs that lack native structured output support.
OpenAPI SDK generator for humans. Type-safe, async-first, developer-friendly.
This repository demonstrates how to use LangChain’s with_structured_output to generate consistent, machine-readable responses. It includes examples with TypedDict, Pydantic, and JSON Schema, and how they help enforce reliable data formats in LLM applications.
Create TypedDict definitions for protobuf json
LangChain structured output 🔥🔗 forces language models to return responses matching your Pydantic schema instead of free-form text, automatically handling prompting and validation to ensure predictable, type-safe results.
AI-powered resume analyzer using LangChain & Gemini to extract structured candidate data from bulk resumes and export it as CSV for efficient screening.
Demonstrates enforcing structured outputs from LLMs using LangChain (Google Gemini & HuggingFace) with Pydantic, TypedDict, and JSON Schema. Includes standalone examples for data validation and schema‑driven text generation. Quickly run each script to see how to produce reliably formatted AI responses.
🧠 A practical collection of small projects and examples to explore LangChain, prompt templates, LLM chatbots, embeddings, JSON schema, and more — designed for hands-on learning and experimentation.
To associate your repository with the typeddict topic, visit your repo's landing page and select "manage topics."