prompt_llm
Version
0.1.4
- 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:
--api-key,--model,--system,--temperature
Set Config
prompt_llm config_add --api-key "<api_key>" --system "<system_messgae>" --temperature <temperature>
Save current config to a profile
prompt_llm config_save_to --profile="openai"
Load the config from a profile
prompt_llm config_load_from --profile="openai"
Remove Config key:
prompt_llm config-rm temperature
View Config:
prompt_llm config-lsprompt_llm config-ls --profile="openai"
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
Release files for prompt-llm 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| prompt_llm-0.1.4.tar.gz | 6.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| prompt_llm-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.9 kB
Release files / prompt_llm-0.1.4.tar.gz
| Download URL | prompt_llm-0.1.4.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8014cf83c36efbdaf6f6e54f218a03772c652691e619fea252fa3c308c2c6ddd
|
|
BLAKE2b-256 checksum How to use checksums |
911e72224dbb8ba5c4f0306e8e4e2feeba41dc4a72d69e7ea0188d7290da1913
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Release files / prompt_llm-0.1.4-py3-none-any.whl
| Download URL | prompt_llm-0.1.4-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4e8f9a570292e94756e24fe1b30ef6de0c19a7988c3359f9f09c761ed1bf7f4a
|
|
BLAKE2b-256 checksum How to use checksums |
245905cf4386ae1ff0b78a3a25d6afd044d01d7dc2229574bd21186d99e6274a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|