Skip to content

Releases: ericmjl/llamabot

v0.11.0

05 Feb 16:23
Compare
Choose a tag to compare

Version 0.11.0

This release introduces several enhancements and bug fixes that improve the functionality and stability of the software. Key updates include new dependency management features, enhanced error handling, and improvements in the documentation and testing setups.

New Features

  • Added 'rank-bm25' library to dependency management for enhanced ranking capabilities in search functionalities (27b53f) (Eric Ma)
  • Updated README and improved error handling for optional dependencies to guide users through installation processes (f15271) (Eric Ma)
  • Introduced SQLAlchemy and greenlet as new dependencies to enhance database operations and asynchronous processing (41b646) (Eric Ma)
  • Added 'all' extra dependency group to package configuration to simplify dependency management (cadc85) (Eric Ma)
  • Added functionality to generate and display historical events in notebooks, enhancing interactive data exploration (639b88) (Eric Ma)
  • Introduced a new Jupyter notebook for structured bot demonstration, showcasing advanced usage scenarios (9bb3dd) (Eric Ma)
  • Updated pre-commit configuration and added new files for an upcoming talk at PyData Boston 2025, improving code quality checks (1c8c95) (Eric Ma)

Bug Fixes

  • Fixed Python package installation command in release workflow to ensure all CLI dependencies are correctly installed (b3ddd3) (Eric Ma)
  • Generalized exception handling when opening a table in LanceDBDocStore to prevent crashes due to unhandled exceptions (d17a8e) (Eric Ma)
  • Ensured the storage path exists before connecting to the database in LanceDBDocStore, preventing errors during database initialization (6d3b0f) (Eric Ma)
  • Added import error handling for 'astor' and 'git' modules to provide clear guidance on missing dependencies (e9f0b6) (Eric Ma)
  • Corrected the dependency installation command in the CI workflow to include all necessary packages for testing (194e80) (Eric Ma)

Deprecations

  • Removed cache-related functionality from the project, streamlining the codebase and focusing on core features (844eb0) (Eric Ma)
  • Deleted unused CLI application file, removing outdated or relocated functionalities (cf6e2f) (Eric Ma)

v0.10.12

30 Jan 17:15
Compare
Choose a tag to compare

Version 0.10.12

This release includes updates to dependencies and improvements to the StructuredBot's handling of specific model outputs.

New Features

  • Updated the litellm dependency to ensure compatibility and performance enhancements. (a905216) (Eric Ma)

Bug Fixes

  • Enhanced the StructuredBot to correctly initialize and handle ollama_chat models, which support structured outputs. This update includes a new condition to bypass standard checks for these models and an updated error message indicating support for gpt-4 models. A test case has been added to verify correct initialization without errors. (84dc794) (Eric Ma)

Deprecations

  • None in this release.

v0.10.11

28 Jan 23:28
Compare
Choose a tag to compare

Version 0.10.11

This release introduces several enhancements and updates, focusing on improving the security and functionality of script execution in sandbox environments, refining the AgentBot capabilities, and updating dependencies for better performance and security.

New Features

  • Implemented a secure sandbox environment for executing agent-generated Python scripts using Docker, ensuring resource and security constraints are maintained. (6be4d1) (Eric Ma)
  • Enhanced the AgentBot with new capabilities for internet search using the DuckDuckGo API and improved script execution handling. (0a0392) (Eric Ma)
  • Added new example notebooks demonstrating the usage of the AgentBot class and provided additional examples and model experiments in existing notebooks. (928fef) (Eric Ma)
  • Added secure script execution for LLM agents using Docker to prevent unauthorized access and ensure script integrity. (b73e2b) (Eric Ma)

Bug Fixes

  • Ensured script execution within the Docker container explicitly uses Python, addressing issues related to file permissions or incorrect shebang configurations. (77e8b0) (Eric Ma)
  • Enhanced error handling and typing in sandbox execution to improve reliability and clarity when errors occur during script execution. (a27af1) (Eric Ma)

Deprecations

  • Removed unused 'write_and_execute_script' function from the AgentBot class to streamline the codebase. (1c9ae8) (Eric Ma)

v0.10.10

27 Jan 03:42
Compare
Choose a tag to compare

Version 0.10.10

This release includes enhancements to testing, a bug fix, and updates to dependencies, improving the overall stability and functionality of the software.

New Features

  • Added support for checking if the model's response schema is compatible with StructuredBot requirements. This ensures that only supported models are used, enhancing reliability. (5df4ed3) (Eric Ma)

Bug Fixes

  • Fixed an issue where the AgentBot was not properly initialized with the model_name parameter in test scenarios, ensuring that tests reflect accurate initialization conditions. (18b7c4d) (Eric Ma)

Test Enhancements

  • Added a new test to verify that StructuredBot correctly handles unsupported models by raising an appropriate error. This helps in maintaining robust error handling in the system. (aa05cad) (Eric Ma)
  • Introduced a test to ensure proper initialization of AgentBot with the model_name parameter, confirming that the setup is correctly handled. (6e4f9ef) (Eric Ma)

Dependency Updates

  • Updated the litellm dependency to version 1.59.8 to maintain compatibility with new versions and ensure the software remains up-to-date with its dependencies. (9bd830d) (Eric Ma)

v0.10.9

19 Jan 02:12
Compare
Choose a tag to compare

Version 0.10.9

This release includes enhancements to the QueryBot, adding support for additional query input types and expanding the model names database. The test suite for QueryBot has also been improved to include user interaction scenarios.

New Features

  • Enhanced QueryBot to support more diverse query input types, improving its flexibility and usability. This update allows QueryBot to handle different types of message inputs more effectively. (314f78a) (Eric Ma)
  • Updated the list of model names in the ollama_model_names.txt file and improved the QueryBot test suite to include tests for user interactions, ensuring better coverage and reliability. (b28f30f) (Eric Ma)

Bug Fixes

Deprecations

v0.10.8

05 Jan 14:10
Compare
Choose a tag to compare

Version 0.10.8

This release includes updates to project dependencies and the addition of new packages, enhancing functionality and maintaining up-to-date security standards.

New Features

  • Updated 'litellm' to version '>=1.56.10' and added 'ollama' and 'pdf2image' to the project dependencies for enhanced functionality and new features. (fdc4bfe) (Eric Ma)

Bug Fixes

  • None in this release.

Deprecations

  • None in this release.

v0.10.7

25 Dec 20:13
Compare
Choose a tag to compare

Version 0.10.7

This release includes improvements to the CLI documentation and bot initialization, enhancing clarity and consistency across the system.

New Features

  • Reorganized the import statements to ensure a logical grouping and order, making the codebase easier to navigate and maintain. (088d9f) (Eric Ma)
  • Updated the bot initialization process to consistently use the 'llamabot' module alias, streamlining future updates and maintenance. (088d9f) (Eric Ma)
  • Introduced a new prompt function to provide users with information about out-of-date checks, improving user interaction and system feedback. (088d9f) (Eric Ma)

Bug Fixes

  • None in this release.

Deprecations

  • None in this release.

v0.10.6

20 Dec 13:58
Compare
Choose a tag to compare

Version 0.10.6

This release introduces new functionalities for handling developer messages and improves the robustness of message creation with additional test coverage.

New Features

  • Added a new dev function to create DeveloperMessage instances from various content types, enhancing message handling capabilities. This function supports strings, file paths, and BaseMessage objects, with added error handling for non-existent file paths. (6cf6f39) (Eric Ma)
  • Implemented new test cases for the dev() function and DeveloperMessage creation, ensuring the function handles a variety of input types correctly, including edge cases like non-existent files. (18b36ce) (Eric Ma)

Bug Fixes

Deprecations

v0.10.5

20 Dec 10:55
Compare
Choose a tag to compare

Version 0.10.5

This release includes several refinements and bug fixes to improve the functionality and efficiency of our bots. Key updates include enhancements to the message handling in LlamaBot, refinements in JSON response handling in SimpleBot, and critical bug fixes in StructuredBot.

New Features

  • Introduced developer-specific message handling in LlamaBot, adding a new DeveloperMessage class and updating message roles for better clarity and functionality. (32d1db5) (Eric Ma)
  • Added developer import and alias in the messages module of LlamaBot to handle developer-specific messages more efficiently. (7e29952) (Eric Ma)

Bug Fixes

  • Fixed model construction in StructuredBot to directly utilize parsed codeblocks, enhancing the accuracy and reliability of model operations. (683c93d) (Eric Ma)
  • Corrected JSON string handling in StructuredBot's mock responses to ensure proper format compliance and data integrity. (05af1c2) (Eric Ma)

Refactorings

  • Streamlined JSON response handling in SimpleBot by employing Pydantic models, ensuring robust data validation and error handling. (3aad11a) (Eric Ma)
  • Refined message filtering and response format handling in LlamaBot to focus on essential data, improving performance and maintainability. (5cf1531) (Eric Ma)
  • Overhauled the configuration and test handling in StructuredBot, removing redundant configurations and correcting data types for enhanced clarity and efficiency. (9ffe21e) (Eric Ma)
  • Removed a redundant debug print statement in SimpleBot, cleaning up the output and focusing on essential information. (ebcf93d) (Eric Ma)

This version continues our commitment to delivering robust and efficient software solutions, with improvements driven by user feedback and technological advancements.

v0.10.4

20 Dec 00:15
Compare
Choose a tag to compare

Version 0.10.4

This release includes enhancements to the StructuredBot, updates to the GitHub Actions workflow for Python package releases, and a transition from bumpversion to bump2version for version management.

New Features

  • Enhanced StructuredBot with JSON extraction and validation improvements. This update introduces a new parameter to handle optional validation failures and refactors JSON extraction into a separate function for better clarity. Tests have been updated to cover new functionalities and scenarios. (976e0e1) (Eric Ma)
  • Updated GitHub Actions workflow for Python package release to include setup for Pixi Environment with caching capabilities. The installation commands have been changed to use 'uv tool install' for better efficiency. (6af34ac) (Eric Ma)
  • Replaced bumpversion with bump2version in the GitHub Actions workflow to manage project versions more reliably. This change includes updates to all references of bumpversion to bump2version in the workflow commands. (7c96f91) (Eric Ma)

Bug Fixes

  • None in this release.

Deprecations

  • None in this release.