← all corpora

instructor

reference corpus · status live · domain AI (AI, prompts and agents) · lane A · refresh pinned · tags GLOBAL · STRUCTURED-OUTPUT · LLM · PYDANTIC · FUNCTION-CALLING

What an agent uses it for

An agent extracting typed/structured data from LLM calls queries this for instructor's Pydantic response-model patterns, retries, and validation hooks.

Use it
curl -fsSLO https://raw.githubusercontent.com/xerj-org/xerj/corpus-hub/tools/xerj-code/hub/instructor.json
xerj corpus add --from ./instructor.json
xerj corpus index instructor then xerj code instructor "your question"

Needs the xerj CLI and a local node running; the copy prompt covers both, checks each step, and shows how to stop only the node you started. No shell: the MCP tool xerj_code_search with corpus: "instructor", once the corpus is indexed on the node.

Sources and pins

sourcepinlicencesizereview note
instructor 035c77b7b04dMIT 73.8 MB / 1,043 files Read LICENSE: MIT, Copyright (c) 2023 Jason Liu; single licence file, no secondary carve-out; active repo. Clean.

73.8 MB across 1,043 files. Added 2026-10-13.

Rights

MIT. Redistribution permitted with attribution per the licence review. The review block records a human opening each licence file at the pin. Detector output is a hint, never the verdict.

Retrieval spot-check (G7)

Not yet spot-checked. Queries are pre-registered in the registry before grading.