# python-chatgpt **Repository Path**: qq812256/python-chatgpt ## Basic Information - **Project Name**: python-chatgpt - **Description**: Python调用ChatGPT范例 - **Primary Language**: Python - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 6 - **Forks**: 1 - **Created**: 2023-02-09 - **Last Updated**: 2023-04-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Python调用ChatGPT范例 ## 开发环境 python3.8 1. 安装 ```bash pip install -r requirements.txt ``` 2. 申请API地址:https://platform.openai.com/account/api-keys 3. 将申请的API_KEY填写到config.py文件 4. 运行python3 main.py 5. 效果展示 ![image](images/demo.png)