Force structured data from free-text responses.
ExtractML auto-injects extraction calls when models return prose instead of structured data.
Quickstart
export OPENAI_API_KEY=sk-...
npx @stockyard/extractml
# Your app: http://localhost:6080/v1/chat/completions
# Dashboard: http://localhost:6080/ui
What You Get
- Auto-extract structured data from prose
- Define output schemas
- Retry with extraction prompt
- Cache extraction patterns
- Works with any model
- Dashboard with extraction stats
Config
# extractml.yaml
port: 6080
extractml:
schema:
type: object
properties:
name: { type: string }
age: { type: integer }
Docker
docker run -p 6080:6080 -e OPENAI_API_KEY=sk-... stockyard/extractml
Part of Stockyard
ExtractML is part of Stockyard — an open-source LLM proxy and control plane. MIT licensed.