Key Capabilities
- Stream or batch logging
- Embedding features for drift detection
- SHAP values for explainability
- Tags and metadata for segmentation
- Support for delayed actuals
- Export data for offline analysis
Stream Logging
Log individual predictions in real-time as they occur in production.log_stream sends the request asynchronously and returns a concurrent.futures.Future. Call .result() on the future to block until the request completes.
With Tags and Metadata
Add custom tags for segmentation and filtering.Batch Logging
Log bulk predictions from historical data or batch processing.With SHAP Values
Include SHAP values for model explainability.Export Data
Export ML model data for offline analysis, custom processing, or archival.Export to Parquet
- Time-range filtering
- DataFrame or Parquet output
- Efficient Arrow Flight transport for large exports
- Progress bars for long-running exports
Supported Model Types
| Model Type | Use Case |
|---|---|
SCORE_CATEGORICAL | Multi-class classification with scores |
MULTI_CLASS | Multi-class classification |
BINARY_CLASSIFICATION | Binary classification |
NUMERIC, REGRESSION | Regression tasks |
RANKING | Ranking and recommendation systems |
OBJECT_DETECTION | Computer vision object detection |
GENERATIVE_LLM | Not supported here — use client.spans instead for LLMs |
Supported Environments
| Environment | Description |
|---|---|
PRODUCTION | Live production traffic |
TRAINING | Training dataset |
VALIDATION | Validation/test dataset (requires batch_id) |
CORPUS | Document corpus logging (log only, with CorpusSchema) |