Releases: ericmjl/llamabot
v0.10.7
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
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 createDeveloperMessage
instances from various content types, enhancing message handling capabilities. This function supports strings, file paths, andBaseMessage
objects, with added error handling for non-existent file paths. (6cf6f39) (Eric Ma) - Implemented new test cases for the
dev()
function andDeveloperMessage
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
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
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.
v0.10.3
Version 0.10.3
This release includes new document store components for the llamabot package, enhancing its functionality and usability.
New Features
- Added new document store components including BM25DocStore, LanceDBDocStore, and ChromaDBDocStore to the llamabot package, making it more versatile in handling different types of document storage. (ebe6adf) (Eric Ma)
Bug Fixes
None
Deprecations
None
Version 0.10.2
This version introduces the AgentBot to the llamabot package and includes various refactoring improvements to enhance code maintainability and readability.
New Features
- Introduced AgentBot to the llamabot package, expanding its capabilities to handle more complex tasks. (6197623) (Eric Ma)
- Added a comprehensive tutorial for building an AgentBot capable of handling tasks like restaurant bill management and stock price analysis, complete with detailed setup instructions and code snippets. (2099e6b) (Eric Ma)
Bug Fixes
None
Deprecations
None
v0.10.2
Version 0.10.2
This release includes improvements to the LlamaBot components, specifically enhancing the functionality of the FTS index in the LanceDBDocStore.
New Features
- Enabled the replacement of existing Full-Text Search (FTS) indexes to ensure up-to-date search capabilities in LanceDBDocStore. (973f850) (Eric Ma)
Bug Fixes
- Updated the LlamaBot version in the pixi.lock file to maintain consistency with the latest software version, fixing dependency issues. (973f850) (Eric Ma)
Deprecations
No deprecations were introduced in this version.
v0.10.1
Version 0.10.1
This minor release includes a version bump and improvements in type hinting within the llamabot components.
New Features
- Improved type hinting in the
process_messages
function to support variable length tuples, enhancing the function's flexibility and correctness in handling different input types. (440a6af) (Eric Ma) - Updated llamabot version in
pixi.lock
from 0.9.21 to 0.10.0, ensuring compatibility with the latest features and fixes. (440a6af) (Eric Ma) - Extended
test_process_messages_with_nested_types
to better verify the handling of various input types, improving test coverage and reliability. (440a6af) (Eric Ma)
Bug Fixes
- None
Deprecations
- None
This release primarily focuses on internal improvements and does not introduce any new user-facing features or deprecations.
v0.10.0
Version 0.10.0
This release introduces significant enhancements and refactoring to the AgentBot, improving its functionality, error handling, and modularity. New testing frameworks and caching mechanisms have been implemented to ensure robustness and efficiency.
New Features
- Introduced a caching mechanism and tool execution enhancements to store results from tool executions with timestamps, allowing cached results to be used as arguments in subsequent tool calls. (2512c6) (Eric Ma)
- Enhanced message handling and error management in AgentBot, including support for BaseMessage in user message creation and explicit error handling tools. (6b1a74) (Eric Ma)
- Added new AgentBot functionality to execute a sequence of tools based on user input, improving the bot's interactivity and responsiveness. (ad32fe) (Eric Ma)
- Updated numpy and added biopython to dependencies, expanding the project's capability for scientific computations. (1e0283) (Eric Ma)
- Enhanced AgentBot with argument tracking and concise logging, improving the transparency and traceability of tool executions. (3acee6) (Eric Ma)
- Enhanced AgentBot to use AIMessage for final output, providing a more structured and readable output format. (c45379) (Eric Ma)
- Added tool management and enhancements in agent processing, introducing a new decorator for better tool management and implementing a new tool to indicate the completion of agent's message processing. (ce19bb) (Eric Ma)
Bug Fixes
- Fixed FTS index creation on the correct table instance to ensure proper functionality of the full-text search capabilities. (358ec1) (Eric Ma)
Deprecations
- Refactored AgentBot to not inherit from SimpleBot, making it an independent class which enhances its modularity and reduces dependencies. (e2b8af) (Eric Ma)
v0.9.21
Version 0.9.21
This release introduces significant enhancements to the llamabot, including new functionalities for message handling and API interactions, as well as updates to dependencies and testing procedures.
New Features
- Enhanced llamabot with new message creation functions and bot classes to handle various types of interactions, including text, images, and URLs. This update also includes high-level API functions for creating user and system messages, and improvements to SimpleBot and StructuredBot for better interaction flow. New notebook examples demonstrate the usage of vision models and structured data extraction. (c1d9eba) (Eric Ma)
- Updated the HTTPX library to version 0.28.0 and added new model names to llamabot, such as llama3.3, snowflake-arctic-embed2, and sailor2. HTTPX has also been added as a dependency in the pyproject.toml and llamabot package. (8f3ba5f) (Eric Ma)
Bug Fixes
- Fixed an issue in the test prompt manager to ensure correct handling of base64 encoded image content in tests. (38d1b49) (Eric Ma)
Deprecations
- No deprecations in this release.
v0.9.20
Version 0.9.20
This release includes enhancements to the documentation system, improvements in development container setup, and a refactor in test directory handling.
New Features
- Enhanced the documentation system by integrating the Diataxis framework, which now supports different documentation types and sources, improving the structure and accessibility of project documentation. (687ff8) (Eric Ma)
- Updated the development container documentation to be more comprehensive and revised the Dockerfile to remove unnecessary whitespace, making the development environment setup clearer and more efficient. (f34e12) (Eric Ma)
Bug Fixes
- None
Deprecations
- None
Refactors
- Refactored the handling of temporary directories in tests to use
tempfile.TemporaryDirectory
for better management and reliability. (e71b92) (Eric Ma)