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.7.tar.gz
(14.5 kB
view hashes)
Built Distribution
Close
Hashes for ai_chat_tool-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b34a65d2ba47c7d25acc5484e4e8ca1502b3e05b7821a1d83afd97708e47617a |
|
MD5 | c2730c585d00216aca9af6bb708fc3b1 |
|
BLAKE2b-256 | 96f94f331bdd28d1ae55121553ccd2d95bcdc3b5eb3729390185d6bcdd8cce1f |