Model manager compatible with Llama-Index models for Quackamollie Telegram chat bot
Project description
- Name:
Quackamollie Llama Index Model Manager
- Package name:
quackamollie-llama-index-model-manager
- Description:
Model manager compatible with Llama-Index models for Quackamollie Telegram chat bot
- Version:
- 0.1a0
- Main page:
- PyPI package:
https://pypi.org/project/quackamollie-llama-index-model-manager/
- Docker Image:
registry.gitlab.com/forge_of_absurd_ducks/quackamollie/lib/model_managers/quackamollie_llama_index_model_manager:0.1a0
- Documentation:
https://llama-index-model-manager-forge-of-absurd-ducks–727628676f6413.gitlab.io/
- Build Status:
Project description
Quackamollie is a Telegram chat bot in Python using the library aiogram to serve LLM models running locally using Ollama. This package is a model manager exposing Llama Index models for the Quackamollie project. It contains:
a model manager LlamaIndexQuackamollieModelManager class implementing abstract functions of MetaQuackamollieModelManager
Learn more about Quackamollie on the project main page : https://gitlab.com/forge_of_absurd_ducks/quackamollie/quackamollie
Requirements
Virtual environment
Setup a virtual environment in python 3.10
make venv
# or
python3 -m venv venv
Activate the environment
source venv/bin/activate
If you want to deactivate the environment
deactivate
Tests
Tests requirements
Install test requirements
make devtools
# or
pip install tox
Run pytest
Run the tests
tox
Run lint
Run the lintage
tox -e lint
Documentation
To auto-generate the documentation configuration
tox -e gendocs
To generate the documentation in Html
tox -e docs
An automatically generated version of this project documentation can be found at here
Install
Install the application from sources
make install
# or
pip install .
Or install it from distribution
pip install dist/quackamollie-llama-index-model-manager-0.1a0.tar.gz
Or install it from wheel
pip install dist/quackamollie-llama-index-model-manager-0.1a0.whl
Or install it from PyPi repository
pip install quackamollie-llama-index-model-manager # latest
# or
pip install "quackamollie-llama-index-model-manager==0.1a0"
Docker
To build the application docker
docker build --network=host -t quackamollie_llama_index_model_manager:0.1a0 .
The official Docker image of this project is available at: registry.gitlab.com/forge_of_absurd_ducks/quackamollie/lib/model_managers/quackamollie_llama_index_model_manager
You can pull the image of the current release:
docker pull registry.gitlab.com/forge_of_absurd_ducks/quackamollie/lib/model_managers/quackamollie_llama_index_model_manager:latest # or dev
# or
docker pull registry.gitlab.com/forge_of_absurd_ducks/quackamollie/lib/model_managers/quackamollie_llama_index_model_manager:0.1a0
Running the model manager
quackamollie-llama-index-model-manager package is automatically discovered, through entrypoints, by the command tool line named quackamollie. Therefore, once installed, you should automatically see models managed by this model manager in Telegram /settings command.
You can install models for this model manager by simply pulling them using the ollama command:
ollama pull llama3
For details on how to run the Quackamollie project, please refer to the Quackamollie’s project main page.
Contributing
Currently, contributions are frozen because the project is still in very early stages and I have yet to push the whole architecture.
For more details on the general contributing mindset of this project, please refer to CONTRIBUTING.md.
Credits
Section in writing, sorry for the inconvenience.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file quackamollie_llama_index_model_manager-0.1a0.tar.gz
.
File metadata
- Download URL: quackamollie_llama_index_model_manager-0.1a0.tar.gz
- Upload date:
- Size: 19.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf4159c9ce7cddc1be702df839694ed50b2b893719e551a7e4b77f2f145101af |
|
MD5 | a3eb5ac125184a0f3dad33ca6efed45f |
|
BLAKE2b-256 | a922703c24a517f6539611bb452f5127007a265003a1747417769c5564acdc53 |
Provenance
File details
Details for the file quackamollie_llama_index_model_manager-0.1a0-py3-none-any.whl
.
File metadata
- Download URL: quackamollie_llama_index_model_manager-0.1a0-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36bc39fa64ea1115348c7057feb6fb6ced3d0b326b62b1be4393f9b94587a46a |
|
MD5 | 17f166a1bfdfe36a98d930416532be7b |
|
BLAKE2b-256 | 5ecfe2f028a3c9b51887d60aac4654da59d30e3f172de6561d40bb016184baca |