ai-chat-tool-0.0.9
توضیحات
AI-Chat-Tool is a tool that brings ChatGPT to the command line
| ویژگی | مقدار |
|---|---|
| سیستم عامل | Unix |
| نام فایل | ai-chat-tool-0.0.9 |
| نام | ai-chat-tool |
| نسخه کتابخانه | 0.0.9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | matoval (Matthew Sandoval) |
| ایمیل نویسنده | <matovalcode@gmail.com> |
| آدرس صفحه اصلی | https://github.com/matoval/ai-chat-tool |
| آدرس اینترنتی | https://pypi.org/project/ai-chat-tool/ |
| مجوز | - |
# 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
```
نیازمندی
| مقدار | نام |
|---|---|
| - | click |
| - | requests |
نحوه نصب
نصب پکیج whl ai-chat-tool-0.0.9:
pip install ai-chat-tool-0.0.9.whl
نصب پکیج tar.gz ai-chat-tool-0.0.9:
pip install ai-chat-tool-0.0.9.tar.gz