Universal CLI for sending prompts to any LLM model and provider.
Project description
modelcli
modelcli is a universal command-line interface to interact with any LLM provider or local model.
Installation
pip install .
Commands
Add a model
modelcli configure-model --name mymodel --url http://localhost:11434/v1/chat/completions --key none --model llama3
Use predefined commands
modelcli summarize "This is a long article..." --model mymodel
modelcli translate "Hola mundo" --language english --model mymodel
modelcli email "Meeting canceled" --tone formal --model mymodel
Run a custom prompt
modelcli custom "List 3 interesting facts about Saturn" --model mymodel
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
modelcli-0.0.6a0.tar.gz
(4.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file modelcli-0.0.6a0.tar.gz.
File metadata
- Download URL: modelcli-0.0.6a0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2944d5e06ec4fc2965d54b50dd9fea2bf8a6626159fbd7a17c55ab1a7d90b31a
|
|
| MD5 |
03b3176c487a74e92a026a1545e16b1b
|
|
| BLAKE2b-256 |
279cc265ed21e282ba74978d0d73bf2c1b80ab27d80cd54527604c7b747fdb98
|
File details
Details for the file modelcli-0.0.6a0-py3-none-any.whl.
File metadata
- Download URL: modelcli-0.0.6a0-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf208c9ef5b61e7fcac13c7907ac80f4cc8fee10bffde406e77bc89d36afb3cb
|
|
| MD5 |
de0866423785289b371b85b1d4b02463
|
|
| BLAKE2b-256 |
10c521b22b0f0dad25c8b97c368b6c8ec709db7a8a5c453fe17e1f19ef0d12b5
|