Skip to main content

A CLI tool to prompt LLMs

Project description

prompt_llm

Version

0.1.0

  • Prompt LLMs via cli

Installation

  1. Clone the repo

  2. Install

  • Local:
    • pip install --editable .
  • PyPi:
    • pip install prompt_llm
  1. Install auto-completion:
  • prompt_llm --install-completion
  • source ~/.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"

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

Uploaded Source

Built Distribution

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

prompt_llm-0.1.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file prompt_llm-0.1.0.tar.gz.

File metadata

  • Download URL: prompt_llm-0.1.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for prompt_llm-0.1.0.tar.gz
Algorithm Hash digest
SHA256 afa6460ab76de46ab89602f47ed462d54d0337cb258b4a9c5e3b3a4d45abfad3
MD5 4fb19bbc4060cdd32d5e44970f7b7307
BLAKE2b-256 2ef72b77224108423c29745a81331890cf3b914600eac4e31fa7a85ed8b9e306

See more details on using hashes here.

File details

Details for the file prompt_llm-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: prompt_llm-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for prompt_llm-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7b3a3677f0ae06fff23bdfb0a907b876e9732ffc43071214864479d0e52a5a24
MD5 545f1dd3a0db3deb4925e2dd52af3678
BLAKE2b-256 a1ea3a710fa9f628063bb1b211c853e537a4f354c432938e6a2a95d480c24857

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