Data Source Adapters
Eval Protocol provides adapters that allow you to easily integrate with various data sources and tracing platforms. Adapters handle the conversion of external data formats into the standardizedEvaluationRow format used by the evaluation pipeline.
Available Adapters
Langfuse
Pull evaluation data from Langfuse observability platform
HuggingFace Datasets
Load and transform datasets from the HuggingFace Hub
Custom Adapters
Build your own adapters for any data source
How Adapters Work
Adapters serve as bridges between external data sources and the Eval Protocol evaluation pipeline. They handle:- Data Ingestion: Loading data from external sources (APIs, databases, files, etc.)
- Format Conversion: Converting the source data to
EvaluationRowformat - Metadata Extraction: Preserving relevant metadata from the source system
- Error Handling: Gracefully handling failures and logging issues
Adapter Architecture
Installation
Adapters are included in the Eval Protocol package but may require additional dependencies:Creating Custom Adapters
You can create custom adapters for any data source by implementing the adapter interface:Contributing New Adapters
We welcome contributions of new adapters! Popular integrations that would be valuable include:- Observability platforms: OTEL, Langsmith, Braintree etc.
- Database adapters: PostgreSQL, MongoDB, etc.
- File format adapters: Parquet, Excel, etc.
- Follow the adapter structure in
eval_protocol/adapters/ - Implement the
get_evaluation_rows()method - Add appropriate tests
- Update the
__init__.pyto conditionally import your adapter - Submit a pull request

