- <p align=”center”>
<img width=”180” src=”https://avatars.githubusercontent.com/u/127706964?s=200&v=4” alt=”LLMApi Cli”> <h1 align=”center”>LLMApi Cli</h1> <p align=”center”>Talk to LLMs like ChatGPT in command line</p>
</p>
# Introduction
[中文文档](README.zh.md)
llmapi_cli is a command-line tool that can directly chat with chatgpt/gpt3 and more large language models(LLM), based on the llmapi-server interface. At the same time llmapi_cli also provides Python module (LLMClient).
> For more information visit: [llmapi.io](https://llmapi.io)
## Install
`bash # install from pypi python3 -m pip install llmapi_cli `
`bash # install locally python3 setup.py install `
## Usage
`bash # The first time you use this command, # you need to specify parameters, this # will be cached after successful connection. # # If you use your own llmapi-server: llmapi_cli --host='http://127.0.0.1:5050' --bot=mock # # If you use api.llmapi.io (which is default host): llmapi_cli --bot=mock --apikey='your apikey on llmapi.io' `
`bash # You can directly use this command again: llmapi_cli # # Or change the bot type: llmapi_cli --bot=gpt3 # # Or redesignate params like first time. `
### Screenshot 
# Currently supported bot type
> View [llmapi-server](https://github.com/llmapi-io/llmapi-server) for more information.
Warning: Currently for testing only
chatgpt: openai’s official ChatGPT,[see more](https://openai.com/blog/introducing-chatgpt-and-whisper-apis)
gpt3: openai’s official GPT-3
welm: Tencent weixin’s llm,[see more](https://welm.weixin.qq.com/docs/introduction/)
newbing: microsoft’s new bing chat, UNOFFICIAL INTERFACE
Metadata
Release files for llmapi-cli 1.1.1
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 | |
|---|---|---|---|---|
| llmapi_cli-1.1.1.tar.gz | 7.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| llmapi_cli-1.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.4 kB
Release files / llmapi_cli-1.1.1.tar.gz
| Download URL | llmapi_cli-1.1.1.tar.gz |
|---|---|
| Size | 7.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c9a992c9cc4cea0e9949cada87477c5c93cf0e8471736714a969c6462eaf9568
|
|
BLAKE2b-256 checksum How to use checksums |
73bc2f14eb55e45099491e371eeac53eb948d2e7efc958a1b6c3d8e1bfa8854b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.28.2 rfc3986/1.5.0 tqdm/4.64.1 urllib3/1.26.12 CPython/3.10.6
|
Release files / llmapi_cli-1.1.1-py3-none-any.whl
| Download URL | llmapi_cli-1.1.1-py3-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0d1ad5c0454ed2bc3954be8c22141a3e742197338d0c181be30ac7639c2259be
|
|
BLAKE2b-256 checksum How to use checksums |
22549a5343b40c8e24543be9d563c459f7215507401e94b1f14a71df63f09dfa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.28.2 rfc3986/1.5.0 tqdm/4.64.1 urllib3/1.26.12 CPython/3.10.6
|
Security for llmapi-cli 1.1.1
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.