# 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.
- **--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 python function that checks for even numbers?
Text written to test.py
```
File created by AI-Chat-Tool
**test.py**
```python
def check_even(number):
if number % 2 == 0:
return True
else:
return False
```
Raw data
{
"_id": null,
"home_page": "https://github.com/matoval/ai-chat-tool",
"name": "ai-chat-tool",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "chatgpt,ai,chat",
"author": "matoval (Matthew Sandoval)",
"author_email": "<matovalcode@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/bd/ba/c4627d2ebe2dac20fad9297cb07dd6aa499a1832af34b8cb841c9c29b0fe/ai-chat-tool-0.0.10.tar.gz",
"platform": null,
"description": "# AI-Chat-Tool\nAI-Chat-Tool is a tool that brings ChatGPT to the command line.\n\nTo use this tool you will need a ChatGPT api key.\n\n### Options\n- **--api-key**\n - (required) ChatGPT api key to use to access ChatGPT.\n- **--file**\n - (optional) File to write ChatGPT response to. Pass just the file(test.py) or the path and file(/first_dir/second_dir/test.py) \n- **--max-tokens**\n - (optional) The maximum number of tokens to generate in the completion.\n- **--temperature**\n - (optional) What sampling temperature to use.\n\n### Example\n- Use AI-Chat-Tool to create a Python function that checks for even numbers\n\n**CLI**\n```\npython -m ai-chat-tool --api-key=$CHATGPTKEY --file=test.py --max-tokens=2000\n```\n```\nWhat can I do for you today?: Can you create a python function that checks for even numbers?\nText written to test.py\n```\n \n \nFile created by AI-Chat-Tool \n**test.py**\n```python\ndef check_even(number):\n if number % 2 == 0:\n return True\n else:\n return False\n```\n",
"bugtrack_url": null,
"license": "",
"summary": "AI-Chat-Tool is a tool that brings ChatGPT to the command line",
"version": "0.0.10",
"split_keywords": [
"chatgpt",
"ai",
"chat"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "8a3397c570918f58e5364c8955f94aae838febbb5346ab76cf898274fdde5cbf",
"md5": "fc18c401e3c4e95a2eda4a0a4d2a6d22",
"sha256": "be061b2d6322f788960dbe2f77ad51c8574d34ee39a3feb0f68341f0f55d17f1"
},
"downloads": -1,
"filename": "ai_chat_tool-0.0.10-py3-none-any.whl",
"has_sig": false,
"md5_digest": "fc18c401e3c4e95a2eda4a0a4d2a6d22",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 16655,
"upload_time": "2023-01-16T05:19:19",
"upload_time_iso_8601": "2023-01-16T05:19:19.953692Z",
"url": "https://files.pythonhosted.org/packages/8a/33/97c570918f58e5364c8955f94aae838febbb5346ab76cf898274fdde5cbf/ai_chat_tool-0.0.10-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "bdbac4627d2ebe2dac20fad9297cb07dd6aa499a1832af34b8cb841c9c29b0fe",
"md5": "1b7be0afed688f1929c9250905e72e8c",
"sha256": "863381b9f8ab936f9f403205adf26136bd8a667de13e37e0381643019c68b6e4"
},
"downloads": -1,
"filename": "ai-chat-tool-0.0.10.tar.gz",
"has_sig": false,
"md5_digest": "1b7be0afed688f1929c9250905e72e8c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 14839,
"upload_time": "2023-01-16T05:19:21",
"upload_time_iso_8601": "2023-01-16T05:19:21.869636Z",
"url": "https://files.pythonhosted.org/packages/bd/ba/c4627d2ebe2dac20fad9297cb07dd6aa499a1832af34b8cb841c9c29b0fe/ai-chat-tool-0.0.10.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-16 05:19:21",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "matoval",
"github_project": "ai-chat-tool",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "ai-chat-tool"
}