Skip to content

Releases: ericmjl/llamabot

v0.0.79

26 Sep 09:50
Compare
Choose a tag to compare

Version 0.0.79

This version introduces a new prompt decorator and tests, improves the release workflow, fixes bugs in the GitHub Actions workflow, and removes the dependency on the 'outlines' package.

New Features

  • A new prompt decorator has been added in the scratch_notebooks directory, enhancing the functionality of functions by adding a prompt feature. Tests have been included to ensure the decorator works as expected with different types of function arguments (d023f22) (Eric Ma).
  • Tests for blogging prompts in the prompt_library directory have been added. These tests validate the output of different blogging prompt functions (d023f22) (Eric Ma).
  • The release notes handling in the GitHub workflow has been updated. The workflow now copies the release notes to a temporary location before creating a release in the GitHub repository (3884962) (Eric Ma).
  • The source of the release notes in the GitHub Actions workflow for releasing a Python package has been changed. It now reads from a markdown file in the docs/releases directory (3884962) (Eric Ma).
  • The file path for the release notes in the release-python-package GitHub workflow has been corrected. The version number now correctly includes a 'v' prefix when reading the markdown file (3884962) (Eric Ma).
  • The path for the release notes in the GitHub Actions workflow has been corrected. The previous path was causing issues in the workflow execution. The path has been updated to correctly point to the release notes file (3884962) (Eric Ma).

Bug Fixes

  • The file path for the release notes in the release-python-package GitHub workflow was incorrect and has been fixed (3884962) (Eric Ma).

Deprecations

  • The step of copying release notes to a temporary location has been removed and the original file is directly referenced in the release action. This simplifies the workflow and reduces unnecessary operations (3884962) (Eric Ma).
  • The 'outlines' package was removed from the dependencies in the environment.yml and pyproject.toml files (af23aae) (Eric Ma).

Refactors

  • The use of the outlines package has been replaced with a custom prompt_manager module across multiple files in the llamabot project. The prompt_manager provides a prompt decorator that turns Python functions into Jinja2-templated prompts, similar to the functionality provided by outlines. This refactor removes the dependency on the outlines package, simplifying the project's dependencies and potentially improving maintainability (dbe78e4) (Eric Ma).

v0.0.78

25 Sep 03:18
Compare
Choose a tag to compare

Version 0.0.78

This new version includes several improvements to the release workflow and bug fixes. The release notes handling has been updated and simplified, and several bugs in the GitHub Actions workflow have been fixed.

New Features

  • Release notes handling in the GitHub workflow has been updated. The workflow now copies the release notes to a temporary location before creating a release in the GitHub repository. This ensures that the release notes are correctly included in the release (d9ab5b) (Eric Ma)
  • The source of the release notes in the GitHub Actions workflow for releasing a Python package has been changed. Instead of using an environment variable, it now reads from a markdown file in the docs/releases directory. The filename is based on the version number (3958ff) (Eric Ma)

Bug Fixes

  • A bug in the GitHub Actions workflow for releasing a Python package has been fixed. The copy command used to copy the release notes was incorrect and has been fixed (7cda28) (Eric Ma)
  • The file path for the release notes in the release-python-package GitHub workflow has been corrected. The version number now correctly includes a 'v' prefix when reading the markdown file (e03626) (Eric Ma)
  • The path for the release notes in the GitHub Actions workflow has been corrected. The previous path was causing issues in the workflow execution. The path has been updated to correctly point to the release notes file (75978b) (Eric Ma)

Deprecations

  • The step of copying release notes to a temporary location has been removed and the original file is directly referenced in the release action. This simplifies the workflow and reduces unnecessary operations (eb2aef) (Eric Ma)

v0.0.77

25 Sep 02:24
Compare
Choose a tag to compare
Bump version: 0.0.76 → 0.0.77

v0.0.76

23 Sep 06:02
Compare
Choose a tag to compare

Version 0.0.76

This new version includes several enhancements to the CLI module and the Llamabot model. It also includes a bug fix for the autowrite_commit_message function.

New Features

  • Help messages for subcommands have been added to the CLI module. This will provide users with more information on how to use each command. (f4de87) (Eric Ma)
  • The model_chat_token_budgets in Llamabot have been updated. New models have been added to the dictionary and token budgets for existing models have been updated. (52522b) (Eric Ma)

Bug Fixes

  • The autowrite_commit_message function in the CLI module has been fixed. Print statements have been replaced with echo for consistent output and error messages are now written to stderr instead of stdout. (a66ead) (Eric Ma)

Deprecations

  • The unused 'apps' subcommand has been removed from the CLI module. This subcommand was not being used and has been safely removed. (0ea7b3) (Eric Ma)

v0.0.75

21 Sep 23:46
Compare
Choose a tag to compare

Version 0.0.75

This new version includes several enhancements to the CLI module of LlamaBot. The improvements focus on automating the process of writing commit messages and ensuring consistency. The version also includes codebase improvements such as the removal of unnecessary comments.

New Features

  • A new command autowrite_commit_message has been added to the git.py file in the llamabot/cli directory. This command automatically generates a commit message based on the diff and writes it to the .git/COMMIT_EDITMSG file. Error handling has also been included in case any exceptions occur during the process. (185613) (Eric Ma)
  • A new command install_commit_message_hook has been added to the Git subcommand for LlamaBot CLI. This command installs a commit message hook that runs the commit message through the bot, automating the process of writing commit messages and ensuring consistency. (d1254e) (Eric Ma)

Bug Fixes

  • No bug fixes in this release.

Deprecations

  • Unnecessary comments in git.py have been removed to improve the codebase. (ecf9c0) (Eric Ma)

v0.0.74

19 Sep 09:40
Compare
Choose a tag to compare

Version 0.0.74

This new version includes an update to the pip installation in the test workflow and the addition of a new dependency, beartype==0.15.0.

New Features

  • Added beartype==0.15.0 to the list of dependencies in pyproject.toml (8c4db1) (Eric Ma)

Bug Fixes

  • Updated pip installation in the test-pypi-package.yaml workflow to use the python -m pip install command instead of pipx to ensure the correct version of pip is used for installing the llamabot[all] package (2e860a) (Eric Ma)

Deprecations

  • None in this release.

v0.0.73

10 Sep 18:24
Compare
Choose a tag to compare

Version 0.0.73

This new version includes an update to the commitbot feature, which now uses a more efficient model for generating commit messages.

New Features

  • The commitbot has been updated to use the gpt-3.5-turbo-16k-0613 model. This model provides the same quality of commit messages as the previous model but at a fraction of the cost (ce91d6b) (Eric Ma)

Bug Fixes

  • No bug fixes in this release.

Deprecations

  • No deprecations in this release.

v0.0.72

10 Sep 18:07
Compare
Choose a tag to compare

Version 0.0.72

This new version includes several enhancements to the Zotero module, improvements to the QueryBot, and updates to the pre-commit hooks. It also introduces a new Jupyter notebook for outlines models and enables package publishing to PyPI.

New Features

  • Added code to retrieve the title of a specific article from the Zotero library using the article's unique identifier (5921df) (Eric Ma)
  • Added support for default similarity top ks in QueryBot based on the OPENAI_DEFAULT_MODEL environment variable (ae392f) (Eric Ma)
  • Enhanced the ZoteroLibrary class by adding an articles_only filter and a key_title_map function (85a223) (Eric Ma)
  • Improved the get_key function documentation in the Zotero module (89b6bc) (Eric Ma)
  • Streamlined the paper selection process in the Zotero CLI by introducing a new PaperTitleCompleter for more efficient paper selection (1122e6) (Eric Ma)
  • Improved handling of similarity_top_k in QueryBot and refactored index creation (acc6e8) (Eric Ma)
  • Added 'sh' dependency to environment.yml and pyproject.toml files (5e23f9) (Eric Ma)
  • Added execution of pre-commit hooks before committing changes (82979d) (Eric Ma)
  • Added a new class, PaperTitleCompleter, to provide completion suggestions for paper titles in the Zotero module (3fac26) (Eric Ma)
  • Updated pre-commit config and notebooks (b077aa) (Eric Ma)
  • Extended the ruff pre-commit hook to also check python and jupyter files (4ae772) (Eric Ma)
  • Added nltk as a transitive dependency via llama_index in the environment.yml file (2bd392) (Eric Ma)
  • Introduced a new pre-commit hook, ruff, to the .pre-commit-config.yaml file (c7c5bc) (Eric Ma)
  • Enabled package publishing to PyPI (baca5c) (Eric Ma)

Bug Fixes

  • Fixed assertion in test_magic_load_doc_txt function (ef4b3e) (Eric Ma)

Refactors

  • Simplified the docstring in the doc_processor module and modified the document loading (fab218) (Eric Ma)
  • Replaced 'index' with 'vector_index' in QueryBot class and refactored related methods (cfb284) (Eric Ma)

Dependencies

  • Bumped version: 0.0.71 → 0.0.72 (d37eab) (github-actions)
  • Added "pre-commit" to the list of dependencies in pyproject.toml (687645) (Eric Ma)
  • Updated dependencies in environment.yml (7cb9a6) (Eric Ma)

Other

  • Updated the version of the black pre-commit hook and removed the flake8 and isort pre-commit hooks (9fca51) (Eric Ma)
  • Added a comment to clarify that GH Actions is allowed to write to the repository in the release-python-package workflow (bcf534) (Eric Ma)
  • Introduced a new Jupyter notebook 'outlines_models.ipynb' in the 'scratch_notebooks' directory (746273) (Eric Ma)

v0.0.71

27 Aug 02:20
Compare
Choose a tag to compare

Version 0.0.71

This new version includes several updates to the GitHub Actions workflow for releasing the Python package. The git configuration has been updated for better readability and specific use by the GitHub Actions user. The secret used for the user password in the release workflow has been changed for correct deployment. The git configuration now includes the credential helper and GitHub token for authentication when pushing changes. The versions of actions/checkout and actions/setup-python have been upgraded for better performance and security.

New Features

  • Added credential helper and GitHub token to git configuration for authentication when pushing changes (5ed538) (Eric Ma)
  • Upgraded actions/checkout from v2 to v3 and actions/setup-python from v2 to v3 for better performance and security (8af512) (Eric Ma)

Bug Fixes

  • Changed the secret used for the user password in the GitHub Actions release workflow for correct deployment (f96f6d) (Eric Ma)

Chores

  • Updated git configuration and push command in the GitHub Actions workflow for better readability (250e87) (Eric Ma)

Please note that the publishing of the package was temporarily commented out in this version (ec6cb5) (Eric Ma).