Skip to main content
Explainability traces model responses back to their origins—whether retrieved context in an agentic workflow or training examples from fine-tuning. This allows you to see which inputs influenced specific outputs. The Explainability SDK provides two capabilities for understanding model outputs. For conceptual background on use cases and when to use each capability, see Explainability.

Explainability workflows

Context attribution

Identify which retrieved sources influenced each statement in an agent’s response. Works with any agent using file search, web search, or other tools.

Training data attribution

Identify which fine-tuning examples influenced a fine-tuned model’s response.

Source tracing

Trace retrieved chunks back to their exact location in the source document — file, page, and lines.
Last modified on June 23, 2026