Skip to main content

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 modelcli

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


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.5.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

modelcli-0.0.5-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file modelcli-0.0.5.tar.gz.

File metadata

  • Download URL: modelcli-0.0.5.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for modelcli-0.0.5.tar.gz
Algorithm Hash digest
SHA256 2d10371a19316cd98d6074ab03e9599b1b611fdb09c02f33cb73f660404085a4
MD5 e943a6ff86f0a3bfba823aefde2b90b9
BLAKE2b-256 b80e4ac63bc9dac6c5ba6e5f431e2a1b57ce32497e39b2d5b9a38c68acfb819d

See more details on using hashes here.

File details

Details for the file modelcli-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: modelcli-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for modelcli-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 46d7d1cec1319acb772fce10e5adea966564e0452e31025119758aa16d7cae1f
MD5 5b95e3902d9375e26417cbf2a0512c38
BLAKE2b-256 3ea180957b35b38a0932ae9d37daf498cdffa15410cf1e87f1ebc8b8c7447559

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page