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.4.tar.gz
(4.3 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.4.tar.gz.
File metadata
- Download URL: modelcli-0.0.4.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06d0114d95c244776071f70237fc22c6a34e8186f76115c68f2b4cb61213058e
|
|
| MD5 |
65a2c3bcd32a9fe42298fb89be64fcc5
|
|
| BLAKE2b-256 |
ac0d08532ca458cbeb738112067e92f38b7a450d5e82f95c632df34855b6c499
|
File details
Details for the file modelcli-0.0.4-py3-none-any.whl.
File metadata
- Download URL: modelcli-0.0.4-py3-none-any.whl
- Upload date:
- Size: 4.5 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 |
9246fdb48101ff1ac93a2730c88c860d0959852b3660a27458ac589deb08235e
|
|
| MD5 |
bfbe9b031ae3c2498a2e0295283552fc
|
|
| BLAKE2b-256 |
a885ca02d6a7e85147005ab1373075715b52c16203a0ad08cb058edd5172ff30
|