A CLI tool to prompt LLMs
Project description
prompt_llm
Version
0.1.0
- Prompt LLMs via cli
Installation
-
Clone the repo
-
Install
- Local:
pip install --editable .
- PyPi:
pip install prompt_llm
- Install auto-completion:
prompt_llm --install-completionsource ~/.bashrc
Config:
- Supported configs:
--system,--temperature,--api-key
Set Config
add_config --api-key "<api_key>" --system "<system_messgae>" --temperature <temperature>
Remove Config:
prompt_llm rm-config temperature
Run cli
prompt_llm openai "Tell me something"
To contribute
1. Build project
python -m build
### 2. Upload
python3 -m twine upload --repository pypi dist/* --verbose
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
prompt_llm-0.1.1.tar.gz
(3.8 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 prompt_llm-0.1.1.tar.gz.
File metadata
- Download URL: prompt_llm-0.1.1.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41045aa2d796f297de44baa6991093fbab71ae5ef12f28933883c2afad8d39ce
|
|
| MD5 |
1cccd1a3dc204811627cf90c46a6644a
|
|
| BLAKE2b-256 |
e03d5b7039679dda7769701faae92cf30c0e52abbf593fd9596ba2080411abb7
|
File details
Details for the file prompt_llm-0.1.1-py3-none-any.whl.
File metadata
- Download URL: prompt_llm-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
67efe4b1c7f57f89d236e9f3517a68aca1d5b3ed1783665916241cd8606a6d03
|
|
| MD5 |
51ddd155081da87132dc5bded9ae753c
|
|
| BLAKE2b-256 |
3ff49ec0b3f17c8ad467642ffd0878557a455a938cfffe75bbb145c9d3ac0679
|