Installation
Classes
RespanConnector
Haystack component that connects pipelines to Respan for tracing.| Parameter | Type | Default | Description |
|---|---|---|---|
api_key | str | None | None | Respan API key. Falls back to RESPAN_API_KEY env var. |
base_url | str | None | None | API base URL. Falls back to RESPAN_BASE_URL. |
RespanTracer
Tracing support for Haystack pipeline execution.RespanGenerator
Gateway component that routes LLM calls through the Respan gateway.| Parameter | Type | Default | Description |
|---|---|---|---|
api_key | str | None | None | Respan API key. |
model | str | — | Model to use (e.g., "gpt-4o-mini"). |
base_url | str | None | "https://api.respan.ai/api" | Gateway base URL. |
RespanChatGenerator
Chat-specific gateway component.| Parameter | Type | Default | Description |
|---|---|---|---|
api_key | str | None | None | Respan API key. |
model | str | — | Model to use. |
base_url | str | None | "https://api.respan.ai/api" | Gateway base URL. |