Instructor
Skill Verifiziert AktivExtract structured data from LLM responses with Pydantic validation, retry failed extractions automatically, parse complex JSON with type safety, and stream partial results with Instructor - battle-tested structured output library
To reliably extract and validate structured data from LLM responses, simplifying complex data processing tasks and improving the accuracy of LLM outputs.
Funktionen
- Extract structured data with Pydantic validation
- Automatic retries on extraction failures
- Parse complex JSON with type safety
- Stream partial results for real-time processing
- Support for multiple LLM providers (Anthropic, OpenAI, local models)
Anwendungsfälle
- Reliably extracting entities, classifications, or complex objects from unstructured text.
- Ensuring LLM outputs conform to predefined schemas and data types.
- Building applications that require real-time processing of LLM-generated data through streaming.
- Integrating LLM-driven data extraction into existing Python applications with type safety.
Nicht-Ziele
- Performing LLM inference directly without structured output requirements.
- Replacing core LLM providers or their fundamental APIs.
- Handling complex multi-turn conversational logic beyond structured response generation.
Execution
- info:Pinned dependenciesWhile the SKILL.md lists dependencies, it does not explicitly mention a lockfile (e.g., `requirements.txt` or `Pipfile.lock`) for pinning specific versions, which could be an area for improvement.
Installation
Zuerst Marketplace hinzufügen
/plugin marketplace add Orchestra-Research/AI-Research-SKILLs/plugin install AI-Research-SKILLs@ai-research-skillsQualitätspunktzahl
VerifiziertVertrauenssignale
Ähnliche Erweiterungen
Instructor
75Extract structured data from LLM responses with Pydantic validation, retry failed extractions automatically, parse complex JSON with type safety, and stream partial results with Instructor - battle-tested structured output library
Create Atomic Tool
99Erstellen Sie eine `BaseTool[InSchema, OutSchema]`-Unterklasse — Eingabe-/Ausgabeschemata, `BaseToolConfig`, `run()` (und optional `run_async()`), umgebungsgesteuerte Geheimnisse, typisierte Fehler-Outputs. Verwenden Sie dies, wenn der Benutzer fragt, "ein Werkzeug hinzuzufügen", "ein Werkzeug zu erstellen", "eine API als Werkzeug zu verpacken", "eine `BaseTool` zu bauen", "ein Werkzeug für Berechnungen/Suche/Wetter zu erstellen" oder `/atomic-agents:create-atomic-tool` ausführt.
Guidance
99Control LLM output with regex and grammars, guarantee valid JSON/XML/code generation, enforce structured formats, and build multi-step workflows with Guidance - Microsoft Research's constrained generation framework
Create Atomic Schema
98Entwerfen und schreiben Sie ein `BaseIOSchema`-Eingabe-/Ausgabepaar für einen Atomic Agents-Agenten oder ein Tool – Docstrings, Feld-Beschreibungen, Validatoren, Fehler-Varianten. Verwenden Sie dies, wenn der Benutzer nach "Schema erstellen", "Eingabe-/Ausgabe-Schema entwerfen", "`IOSchema` definieren", "`BaseIOSchema` schreiben", "Modellieren der Agentenausgabe" fragt oder `/atomic-agents:create-atomic-schema` ausführt.
Chatgpt Search
100Search ChatGPT and extract the full response + hydration JSON that powers the UI. Attaches to a running Chrome instance (port 9222 by default), opens ChatGPT, submits a query, waits for the streamed response, and returns structured data: messages, product cards, hydration JSON, and API calls. Use when asked to "search chatgpt", "ask chatgpt", "chatgpt search", "get chatgpt response", or "scrape chatgpt".
Website Extraction Api
100Extract typed JSON from public website pages using a schema.