Skip to content

v0.6.0 - Upload Support

Choose a tag to compare

@lmeyerov lmeyerov released this 25 Sep 06:46
· 7 commits to main since this release
cd3d330

Summary

  • Adds complete support for uploading DataFrames, images, and binary files
  • Enables natural language analysis of user data through lui() interface

Changes

New Features

  • UploadClient class for handling all upload operations
  • 📊 DataFrame upload with multiple formats (parquet, csv, json, arrow)
  • 🖼️ Image upload support (PNG, JPEG, etc.)
  • 📄 Binary file upload support (PDF, Office docs, etc.)
  • 🔄 Streaming display support for uploaded content in notebooks

API Additions

  • client.upload_dataframe(prompt, df) - Upload and analyze DataFrames
  • client.upload_image(prompt, image) - Upload and analyze images
  • client.upload_binary(prompt, file) - Upload and analyze files
  • lui(prompt, df) - Natural notebook interface for uploads
  • lui(df, prompt) - Reversed syntax for convenience

Files Changed

  • New: src/louieai/_upload.py (core upload implementation)
  • Modified: _client.py, cursor.py, streaming.py (integration)
  • Added: 8 test files with comprehensive coverage
  • Updated: Documentation and notebooks with upload examples

Testing

  • ✅ All upload tests passing (12 tests in test_upload.py)
  • ✅ Linting and type checking pass
  • ✅ Backwards compatible - no breaking changes

Related

  • Original implementation by @author from dev/artifact-upload branch