[0.1.6] - 2025-01-06
9 months ago
Added
- Support for streaming responses via a new wait attribute. When wait is enabled, the API streams partial output incrementally until completion, improving responsiveness for long-running generations.
- Dataset upload capabilities:
upload_dataframe()for pandas DataFrame uploadsupload_csv()for CSV file uploadsupload_excel()for Excel file uploads (in development)
- Machine learning operations:
train()method for model training with time series supporttune()method for hyperparameter optimizationinference()method for batch predictions
- Job management system with status tracking and metrics retrieval:
TrainingJobfor training operationsTuningJobfor hyperparameter tuningInferenceJobfor batch inference
- Time granularity support (second, minute, hour, daily, weekly, monthly, etc.)
- Comprehensive error handling with custom exceptions:
AuthenticationErrorfor auth failuresRateLimitErrorfor rate limitingUploadErrorfor upload failuresTrainingErrorfor training issuesInferenceErrorfor inference problemsTuningErrorfor tuning errors
Changed
- Improved API design with Dataset objects
- Enhanced documentation with comprehensive docstrings
- Better separation of concerns with dedicated job classes
Fixed
- File existence validation before upload attempts
- Empty dataframe validation to prevent upload errors
- Proper error propagation from API responses