Skip to content

V0.0.85

Version 0.0.85

This version introduces several enhancements and refactors to the Llamabot project. The changes include improvements to the codebase's flexibility and maintainability, updates to the documentation, and the addition of new features.

New Features

  • Added a new parameter model_name to the chat function in zotero.py, allowing users to specify the language model to use. (c03a13f) (Eric Ma)
  • Introduced a new Jupyter notebook 'ollama.ipynb' demonstrating the implementation of a simple chatbot named 'ollama' using the 'llamabot' library. (c4919b2) (Eric Ma)
  • Added a new .vscode/extensions.json file with a list of recommended extensions for Visual Studio Code. (964bafa) (Eric Ma)
  • Added a new file model_dispatcher.py in the llamabot/bot directory, which contains a function create_model that dispatches and creates the right model based on the model name. (3dee9ea) (Eric Ma)
  • Updated simplebot.py to use the create_model function from model_dispatcher.py instead of directly creating the model. (3dee9ea) (Eric Ma)
  • Added a prompt to the default_model function in configure.py that informs the user to run llamabot configure default-model to set the default model. (b7a50e5) (Eric Ma)

Refactors

  • Replaced the hardcoded model name "codellama" with the default language model from the config file in simplebot.py. (bfb47a2) (Eric Ma)
  • Moved model token constants to a new file model_tokens.py for better organization and maintainability. (f2a1f46) (Eric Ma)
  • Refactored QueryBot class in querybot.py to use create_model function from model_dispatcher.py for model creation. (f2a1f46) (Eric Ma)
  • Simplified model creation and token budget calculation in chatbot.py. (491ab6f) (Eric Ma)
  • Removed an unnecessary echo message that was instructing the user to set the default model in the default_model function of configure.py. (d3c3751) (Eric Ma)

Documentation

  • Added instructions on how to specify a model when using the chat command in zotero.md. (9b07f17) (Eric Ma)
  • Introduced a new tutorial file ollama.md providing a comprehensive guide on how to run a chatbot using llamabot and Ollama. (9b07f17) (Eric Ma)
  • Added a newline at the end of the release notes for versions v0.0.82, v0.0.83, and v0.0.84. (0001e76) (Eric Ma)

Bug Fixes

  • No bug fixes in this release.

Deprecations

  • No deprecations in this release.