v0.6.1
Version 0.6.1
This release includes several improvements and updates to the documentation, as well as new functionality for finding prime numbers.
New Features
- Added functionality to find the next prime number. This includes an
is_prime
function to check primality and anext_prime
function to find the next prime number after a given number. (22b73f3) (Eric Ma) - Refactored the
test_docs
module to use an external source file and improve function documentation. This includes usingPath
for reading external prime number source code and updating docstrings inis_prime
andnext_prime
functions. (196bde2) (Eric Ma) - Updated the
llamabot
documentation to reflect source code changes and add new test cases. This includes updating the documentation and test suite for new source code changes and adding comprehensive test cases for documentation validation. (4308ba3) (Eric Ma) - Improved the formatting and clarity of the CLI documentation for the
llamabot docs write
command. This includes reformatting the--from-scratch
flag section for better clarity, updating the frontmatter section to specify YAML format, simplifying the example section with a complete Markdown file, and changing file and intent sections in the Python script for clearer content blocks. (8108712) (Eric Ma)
Bug Fixes
- Fixed an issue with the
llamabot docs write
command to ensure content is cleared at the correct stage when writing from scratch. This includes moving content clearing to the start of the write function iffrom_scratch
is true. (e78b3f1) (Eric Ma)
Deprecations
- No deprecations in this release.
Other Changes
- Refactored the
llamabot
bot and documentation handling. This includes changing thetask_message
return type toHumanMessage
inStructuredBot
, substitutingDocumentationOutOfDate
withModelValidatorWrapper
, addingood_checker_bot
anddocwriter_bot
functions for bot instance creation, updating thewrite
function to use new bot functions and handle doc updates, and fixing class name typos in test cases toDocsDoNotCoverIntendedMaterial
. (805caa6) (Eric Ma) - Updated the documentation for the
next_prime
function. This includes providing a tutorial on how to use the prime number function and explaining any optimizations made in the source code. (99ae504) (Eric Ma) - Updated the documentation for the
llamabot docs write
command. This includes adding an explanation of how linked files are referenced, detailing the mechanism of referencing files in thelinked_files
key, and providing an example of relative path usage for linked files. (3fe4571) (Eric Ma) - Updated the pytest configuration for the
test_docs
module. This includes changing the pytest marker from 'llm' to 'llm_eval' and updating the pytest addopts inpyproject.toml
to use the new 'llm_eval' marker. (22e067d) (Eric Ma) - Updated the pytest marker for the
test_docs
module. This includes changing the pytest marker from 'llm_evals' to 'llm'. (f506b12) (Eric Ma) - Bumped version from 0.6.0 to 0.6.1. (52ac0d9) (github-actions)