LChat
Large Language Model (LLM) chat command line inteferace based using HuggingFace.
Installation
pip install lchat
Usage
You will likely need to login via huggingface_hub.
The usage is very simple, to enter the chat prompt run:
python -m lchat
The arguments that can be passed to lchat are as follows:
usage: lchat [-h] [-p PROMPT] [-m MODEL] [-l]
Sends an input to a HuggingFace LLM.
options:
-h, --help show this help message and exit
-p PROMPT, --prompt PROMPT
Type of prompt to use. '' for none, 'email' for email.
-m MODEL, --model MODEL
Hugging Face model to use.
-l, --list List default prompts.
- To quit from the chat prompt, type
qorquit. - To erase all message history type
corclear. - To show the help menu, type
horhelp.
Chats are not saved between sessions.
The >>> prompt is the prompt that awaits your input.
The ['.'] ... prompt is the LLM response.
License
This project is licensed under the GNU GPL v3 license which can be found here.
Contributing
Issues and pull requests welcome!
Metadata
Release files for lchat 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lchat-0.2.3.tar.gz | 17.2 kB | Without provenance | Details for lchat-0.2.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lchat-0.2.3-py3-none-any.whl | Python 3 | none | any | Details for lchat-0.2.3-py3-none-any.whl |
Total release size: 35.7 kB
Release files / lchat-0.2.3.tar.gz
| Download URL | lchat-0.2.3.tar.gz |
|---|---|
| Size | 17.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2810711b17c1fc7baec2ed2cca85f203d7cbe890b75120ce05235932dab59315
|
|
BLAKE2b-256 checksum How to use checksums |
60b42c4598c7fce201b015add3657baeacc98c9fcc17838363b5b8fb64f4e15d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.11.8 Linux/6.6.47-gentoo-dist
|
Release files / lchat-0.2.3-py3-none-any.whl
| Download URL | lchat-0.2.3-py3-none-any.whl |
|---|---|
| Size | 18.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
351e919b6b9e73dc4fd0b5ff87c18cbcac97a51a50a15e5a2eb78b47870209b9
|
|
BLAKE2b-256 checksum How to use checksums |
244e52cf0c874db3fee4ba58e55c319d8e16a3f09d42e38e23aea4dc2ed6072a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.11.8 Linux/6.6.47-gentoo-dist
|
Security for lchat 0.2.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.