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 thechat
function inzotero.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 thellamabot/bot
directory, which contains a functioncreate_model
that dispatches and creates the right model based on the model name. (3dee9ea) (Eric Ma) - Updated
simplebot.py
to use thecreate_model
function frommodel_dispatcher.py
instead of directly creating the model. (3dee9ea) (Eric Ma) - Added a prompt to the
default_model
function inconfigure.py
that informs the user to runllamabot 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 inquerybot.py
to usecreate_model
function frommodel_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 ofconfigure.py
. (d3c3751) (Eric Ma)
Documentation
- Added instructions on how to specify a model when using the
chat
command inzotero.md
. (9b07f17) (Eric Ma) - Introduced a new tutorial file
ollama.md
providing a comprehensive guide on how to run a chatbot usingllamabot
andOllama
. (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.