Skip to content

Releases: lion-agi/lionagi

v0.10.1

19 Mar 20:42
fb9be44
Compare
Choose a tag to compare

What's Changed

  • feat: add Source model and sources field to Documentation; update ver… by @ohdearquant in #584

Full Changelog: v0.10.0...v0.10.1

v0.10.0

19 Mar 18:56
b3c64ec
Compare
Choose a tag to compare

Release Notes (v0.10.0)

What's New:

  • Codebase Reorganization: Modules previously under lionagi/operatives have been restructured into three clear domains:
    1. lionagi/libs/fields (Pydantic fields & validators)
    2. lionagi/models (fundamental Pydantic models, hashing, parameters)
    3. lionagi/protocols (adapters, messaging, mail, and action protocols)

Breaking Changes:

  • Import paths for key classes and functions have changed. If you were importing from lionagi.operatives.*, please update references to the new modules (e.g., lionagi.libs.fields.*, lionagi.models.*, lionagi.protocols.*).

Enhancements:

  • Consolidated repeated logic (e.g., HashableModel) into dedicated modules for easier maintenance.
  • Streamlined test structure to align with the new organization.

Version Bump:

  • Bumped version from 0.9.19 to 0.10.0 to reflect these significant structural improvements.

Recommended Actions:

  • Migration: Update all import statements referencing operatives or older modules to point to the new packages.
  • Review Documentation: Ensure any references in docs or examples match the new file paths.

This release is focused on structural consistency and clarity rather than new features, so the overall functionality remains stable.

What's Changed

Full Changelog: v0.9.19...v0.10.0

v0.9.19

09 Mar 02:56
314a7ee
Compare
Choose a tag to compare

Modified

  • python_math symbolic mapping, updated to version 1.2

Fixed:

  • certain edge cases in concat_files

What's Changed

Full Changelog: v0.9.18...v0.9.19

v0.9.18

07 Mar 01:14
6c9e20e
Compare
Choose a tag to compare

Added:

python-math mapping

What's Changed

Full Changelog: v0.9.17...v0.9.18

v0.9.17

06 Mar 23:37
d148858
Compare
Choose a tag to compare

Added

  • brainstormStream

What's Changed

Full Changelog: v0.9.16...v0.9.17

v0.9.16

02 Mar 23:06
6236e8c
Compare
Choose a tag to compare

Release Notes (v0.9.16)

Features:

  1. Lion Emoji Mapping Resource

    • Introduces lion_emoji_mapping.toml to expand symbolic compression with lion-themed emoji placeholders.
    • Helps represent token transformations in a more playful and structured way.
  2. Improved Async Task Resilience

    • symbolic_compress_context now retries tasks up to three times (num_retries=3), enhancing stability for longer transformations or concurrency-heavy operations.

Fixes / Maintenance:

  • No direct bug fixes, but the retry configuration reduces transient errors in concurrency tasks.
  • Bumped version to 0.9.16 to reflect new resource additions.

Upgrade Steps:

  • No special steps required. Standard pip install or repository pull is sufficient.
  • For users who already leverage symbolic compression, the new .toml resource can be used immediately without code modifications.

What's Changed

Full Changelog: v0.9.15...v0.9.16

v0.9.15

02 Mar 11:57
34c29ea
Compare
Choose a tag to compare

Release Notes (v0.9.15)

Release Date: 2025-03-02

New in This Release

  1. Advanced Symbolic Compression

    • Facilitates up to 90% reduction in Rust codebase size via repeated chunking and mapping.
    • Tested with the gemini-flash2 model on a 50k-line Rust project.
  2. Modular Improvements

    • File Concatenation: Introduced concat_files for flexible multi-file text merges.
    • Refined Chunking: process.py and symbolic_compress_context.py unify chunking logic, concurrency, and token-based slicing.
    • SynthLang Enhancements: Additional repeated encoding passes for even smaller text footprints, while preserving enough detail for LLM comprehension.

How to Upgrade

  • Update to lionagi==0.9.15 using your preferred Python package manager:
    pip install --upgrade lionagi
    

What's Changed

Full Changelog: v0.9.14...v0.9.15

v0.9.14

27 Feb 01:10
c863fb5
Compare
Choose a tag to compare

Release Notes (v0.9.14)

Highlights

  • Refined Compression API

    • Renamed parameters: system_msgsystem, target_ratiocompression_ratio.
    • Introduced a new helper function compress_text() for perplexity-based compression, consolidating the logic across multiple classes.
  • Symbolic Compression

    • New symbolic_compress_context() function for concurrency-based chunk transformations, optionally chaining perplexity compression with SynthLang symbolic conversion.
    • Added synthlang_/ resource frameworks (abstract algebra, category theory, etc.) for advanced symbolic representation.
  • TOML Support

    • TomlAdapter and TomlFileAdapter enable reading/writing TOML as first-class citizens in the adapter system.
    • .toml resources are now used to store frameworks, token mappings, and prompts.
  • Resources & Prompts

    • Resource and Prompt classes unify Node-based storage for content, with categories such as “framework” or “prompt”.
    • Allows advanced reflection on code-based or text-based frameworks.
  • Version

    • Bumped to 0.9.14.

Breaking Changes

  • Code referencing system_msg or target_ratio must be updated to system and compression_ratio.
  • Some docstrings have been changed; review parameters in your integrator code.

Upgrade Steps

  1. Search and Replace
    • Change system_msgsystem and target_ratiocompression_ratio in all compression calls.
  2. Review Chunking Logic
    • If you used metadata={}, you may now set metadata=None or pass in your own dict at call time.
  3. Check TOML Dependencies
    • Confirm toml library is installed and pinned to a compatible version.
    • If you rely on Python 3.11 or later, consider using built-in tomllib for performance.

Recommended Next Actions

  • Run or extend your unit tests to cover large inputs in symbolic_compress_context.
  • Check concurrency usage and memory footprints for big data sets.
  • Explore new SynthlangTemplate frameworks for more advanced symbolic transformations.

Added:

example onsymbolic_compress_context at here

What's Changed

Full Changelog: v0.9.13...v0.9.14

v0.9.13

08 Feb 18:37
ac49eef
Compare
Choose a tag to compare

Added:

created_datetime property for all element based classes

What's Changed

  • feat: add created_datetime property and bump version to 0.9.13 by @ohdearquant in #575

Full Changelog: v0.9.12...v0.9.13

v0.9.12

04 Feb 07:11
c612f08
Compare
Choose a tag to compare

added:

  • added name attribute to Session object.

What's Changed

Full Changelog: v0.9.11...v0.9.12