Skip to content

v0.1.9

Choose a tag to compare

@xpluscal xpluscal released this 05 Feb 02:38
· 5 commits to main since this release

[0.1.9] - 2025-02-05

Added

  • Automatic content chunking for large memories
    • Content exceeding 8192 tokens is automatically split into chunks
    • Chunks are linked with follows_up relationships
    • Each chunk includes metadata about its position and total chunks
    • Seamless handling of both single and multi-chunk memories
  • Enhanced metadata filtering support in search_memories:
    • Exact value matching for numeric fields in metadata
    • Nested object matching in metadata
    • Array containment operations with _contains operator
    • Full support for deep nested metadata structures
  • Improved IDE support and type hints:
    • Added py.typed marker for better type checking
    • Enhanced docstrings with examples and detailed descriptions
    • Added proper type hints for all public APIs
    • Better package metadata for development tools

Changed

  • remember function now returns either a single Memory or List[Memory] depending on chunking
  • Enhanced memory metadata to support chunk information and relationships
  • Enhanced package structure for better IDE integration
  • Improved import organization in core modules