Skip to main content

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

python -m 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


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.8.tar.gz (14.5 kB view details)

Uploaded Source

Built Distribution

ai_chat_tool-0.0.8-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

Details for the file ai-chat-tool-0.0.8.tar.gz.

File metadata

  • Download URL: ai-chat-tool-0.0.8.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

Hashes for ai-chat-tool-0.0.8.tar.gz
Algorithm Hash digest
SHA256 1a2a4cc3ef6625e8c9786cbb4f7eb47703ea50d475866d2f8819883c3b478b9c
MD5 b9c856da5785af5a5d9377bd9434544b
BLAKE2b-256 72c19e2e921cd36f5a9eaaae096cc88850144cb728c002bfa660c17c60a23653

See more details on using hashes here.

File details

Details for the file ai_chat_tool-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: ai_chat_tool-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 16.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for ai_chat_tool-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 5f5e83b8b0e6686704e51d2dc7dd04cec1787d4d9639d61647da75e17073817e
MD5 270f0de70c5d59870d5cb216c2e35423
BLAKE2b-256 c5b056154979480ebbb1b029a0d7a531871887eff18efbd5942e94506b12f3bf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page