AI-Chat-Tool
AI-Chat-Tool is a tool that brings ChatGPT to the command line.
To use this tool you will need a ChatGPT api key.
Options
- --api-key
- (required) ChatGPT api key to use to access ChatGPT.
- --file
- (optional) File to write ChatGPT response to. Pass just the file(test.py) or the path and file(/first_dir/second_dir/test.py)
- --max-tokens
- (optional) The maximum number of tokens to generate in the completion. Default=7
- --temperature
- (optional) What sampling temperature to use. Default=0
- --line
- (optional) Line on a file where ChatGPT output will start.
Example
- Use AI-Chat-Tool to create a Python function that checks for even numbers
CLI
python -m ai-chat-tool --api-key=$CHATGPTKEY --file=test.py --max-tokens=2000 --line=4
What can I do for you today?: Can you create a python function that checks for even numbers?
Text written to test.py
File created by AI-Chat-Tool test.py
def check_even(number):
if number % 2 == 0:
return True
else:
return False
Metadata
Release files for ai-chat-tool 0.0.11
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 |
|---|---|---|---|---|
| ai-chat-tool-0.0.11.tar.gz | 15.0 kB | Without provenance | Details for ai-chat-tool-0.0.11.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ai_chat_tool-0.0.11-py3-none-any.whl | Python 3 | none | any | Details for ai_chat_tool-0.0.11-py3-none-any.whl |
Total release size: 31.7 kB
Release files / ai-chat-tool-0.0.11.tar.gz
| Download URL | ai-chat-tool-0.0.11.tar.gz |
|---|---|
| Size | 15.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f564a8b3676b72b5891515a34377f483f15487e8e7fe173d71af0cc2d7dbe04e
|
|
BLAKE2b-256 checksum How to use checksums |
525279f93629ed5d52718eb2eb674d41fef39a2b7707b62fa155339de6f8f919
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.1
|
Release files / ai_chat_tool-0.0.11-py3-none-any.whl
| Download URL | ai_chat_tool-0.0.11-py3-none-any.whl |
|---|---|
| Size | 16.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a759cc421dfa4fdaead6cd46a4b56b49cf9b1bf16b7066130b30aed2d5d54697
|
|
BLAKE2b-256 checksum How to use checksums |
fadc77a372131cceba6fbbc94acf3e3d7b6689e902f1a28bfa5cd5a12e93eef6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.1
|
Security for ai-chat-tool 0.0.11
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.