|
|
|
|
@ -9,21 +9,21 @@ A Python package for interacting with LLM models through Ollama, supporting both |
|
|
|
|
|
|
|
|
|
## Installation |
|
|
|
|
|
|
|
|
|
Install directly from GitHub: |
|
|
|
|
Install directly from Git: |
|
|
|
|
|
|
|
|
|
```bash |
|
|
|
|
pip install git+https://github.com/lasseedfast/_llm.git |
|
|
|
|
pip install git+https://git.edfast.se/lasse/_llm.git |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
Or clone and install for development: |
|
|
|
|
|
|
|
|
|
```bash |
|
|
|
|
git clone https://github.com/lasseedfast/_llm.git |
|
|
|
|
git clone https://git.edfast.se/lasse/_llm.git |
|
|
|
|
cd _llm |
|
|
|
|
pip install -e . |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
Alternatively, after cloning, you can install all dependencies (including those from GitHub) using the provided script: |
|
|
|
|
Alternatively, after cloning, you can install all dependencies (including those from git.edfast.se) using the provided script: |
|
|
|
|
|
|
|
|
|
```bash |
|
|
|
|
bash install_deps.sh |
|
|
|
|
@ -33,8 +33,8 @@ bash install_deps.sh |
|
|
|
|
|
|
|
|
|
This package requires: |
|
|
|
|
|
|
|
|
|
- env_manager: `pip install git+https://github.com/lasseedfast/env_manager.git` |
|
|
|
|
- colorprinter: `pip install git+https://github.com/lasseedfast/colorprinter.git` |
|
|
|
|
- env_manager: `pip install git+https://git.edfast.se/lasse/env_manager.git` |
|
|
|
|
- colorprinter: `pip install git+https://git.edfast.se/lasse/colorprinter.git` |
|
|
|
|
- ollama: For local model inference |
|
|
|
|
- tiktoken: For token counting |
|
|
|
|
- requests: For API communication |
|
|
|
|
|