BlackHC/llm-strategy

Directly Connecting Python to LLMs via Strongly-Typed Functions, Dataclasses, Interfaces & Generic Types

48
/ 100
Emerging

This tool helps you quickly get structured data from large language models (LLMs) like GPT-3. You provide a description of the task and what kind of information you expect back using standard Python type hints. The tool then interprets the LLM's raw text responses and delivers them as ready-to-use Python data structures. It's ideal for engineers and researchers building systems that integrate LLMs to automate information extraction or decision-making.

401 stars. No commits in the last 6 months. Available on PyPI.

Use this if you need to reliably convert free-form text output from an LLM into structured, type-safe Python objects for further processing or analysis.

Not ideal if you are looking for a no-code solution or if your primary goal is simple, unstructured text generation without needing to process the output programmatically.

LLM-integration prompt-engineering structured-data-extraction AI-workflow-automation hyperparameter-optimization
Stale 6m
Maintenance 0 / 25
Adoption 10 / 25
Maturity 25 / 25
Community 13 / 25

How are scores calculated?

Stars

401

Forks

24

Language

Python

License

MIT

Last pushed

Mar 03, 2025

Commits (30d)

0

Dependencies

6

Get this data via API

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

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