Set up Respan
Set up Respan
- Sign up — Create an account at platform.respan.ai
- Create an API key — Generate one on the API keys page
- Add credits or a provider key — Add credits on the Credits page or connect your own provider key on the Integrations page
What is Instructor?
Instructor is a Python library that makes it easy to get structured data like JSON from LLMs using Pydantic models. Use Instructor with Respan tracing to monitor your structured LLM outputs.Setup
View your trace
Open the Traces page in the Respan dashboard.
Observability
With this integration, Respan auto-captures:- Instructor calls — each
@task-decorated function as a span - LLM calls — model, input/output messages, token usage (auto-captured via
Instruments.OPENAI) - Structured outputs — the Pydantic model returned by Instructor
- Errors — failed extractions and error details