AI-Chat-Tool is a tool that brings ChatGPT to the command line
Project description
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.
- --max-tokens
- (optional) The maximum number of tokens to generate in the completion.
- --temperature
- (optional) What sampling temperature to use.
Example
- Use AI-Chat-Tool to create a Python function that checks for even numbers
CLI
ai-chat-tool --api-key=$CHATGPTKEY --file=test.py --max-tokens=2000
What can I do for you today?: Can you create a pyhton 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ai-chat-tool-0.0.3.tar.gz
(14.5 kB
view details)
Built Distribution
File details
Details for the file ai-chat-tool-0.0.3.tar.gz
.
File metadata
- Download URL: ai-chat-tool-0.0.3.tar.gz
- Upload date:
- Size: 14.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
02c20878e1271d28f9e99a039db6c8a81b916efb86c071d6e0394b8a76a50aa3
|
|
MD5 |
3d1b9f867a0f9570cef17ef7236368a3
|
|
BLAKE2b-256 |
7ae8815f590fea6dc02b30a37fe43928cbfc89091b1e462ee09048dd0178bd7c
|
File details
Details for the file ai_chat_tool-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: ai_chat_tool-0.0.3-py3-none-any.whl
- Upload date:
- Size: 14.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
e35722cb5a20f1b60b63ae9ab9fe635f32eb2cf28e61d4cac977d7d46ae80aa2
|
|
MD5 |
d8acf67e4f1024e37e33449cbec5ed9a
|
|
BLAKE2b-256 |
b3b14d1e5a2019885c95539a9c2ada715634b816a4b1103da9a484025c6dc712
|