Skip to content

Changelog

All notable changes to the MicroDC Python Client Library are documented here.

The format is based on Keep a Changelog, and this project follows Semantic Versioning.

[1.0.0] - 2025-11-04

Added

  • Client Class with full API interaction support
  • Job submission, status checking, cancellation
  • Callback-based async patterns
  • Background polling for job completion
  • File upload and download token management

  • Job Types:

  • LLMComplete -- Single-turn text generation
  • LLMChat -- Multi-turn conversational AI
  • LLMEmbed -- Text embeddings generation
  • DocumentCall -- Document processing workflows (docling support)

  • Core Features:

  • Automatic retry logic with exponential backoff
  • HTTP/2 support via httpx
  • Comprehensive error handling with custom exceptions
  • Type hints throughout for IDE support
  • Context manager support for resource cleanup

  • Helper Methods:

  • wait_for_all() -- Block until all jobs complete
  • wait_for_job() -- Block until specific job completes
  • acknowledge_job() -- Mark jobs as processed
  • upload_file() -- Upload files for multimodal tasks

  • Examples:

  • basic_llm.py, chat_example.py, embeddings.py
  • batch_processing.py, callbacks.py, multimodal_example.py
  • error_handling.py, context_manager.py
  • document_processing.py, batch_document_processing.py

  • Jupyter Notebooks:

  • 01_basic_usage.ipynb -- Introduction and basic patterns
  • 02_simple_rag.ipynb -- Complete RAG implementation
  • 03_batch_processing.ipynb -- Batch processing patterns

Dependencies

  • httpx >= 0.27.0
  • typing-extensions >= 4.5.0

Upcoming: v1.1.0

  • Async/await support alongside callback patterns
  • Streaming support for real-time LLM responses
  • Batch job management improvements
  • Enhanced retry strategies