笔记:ChatGPT的API keys配合Python批量产出文章
与一、 ChatGPT 相关
OpenAI 官网:https://openai.com/blog/chatgpt/
ChatGPT 聊天地址:https://chat.openai.com/chat
ChatGPT API地址:https://beta.openai.com/account/api-keys
注册好账号后 获取API密钥 注意保存好密钥
二、Python相关
本地环境 搭建Python
1.安装Python环境 参考 : https://blog.csdn.net/weixin_49237144/article/details/122915089
2.安装 Pycharm 参考 :https://blog.csdn.net/weixin_49237144/article/details/124918253
3.Pycharm 官网 :https://www.jetbrains.com/pycharm/
注意 Community版 为免费
三、Python安装库
pip install openai
pip install pandas
pip install openpyxl
上面三个依赖库
偶尔需要
pip install --upgrade pip
2023-3月 升级3.5后 需要增加
pip install openai==0.27.0
Cmd命令行执行 pip install pandas
1.Windows+R,输入cmd打开命令行窗口,
1.Windows+R,输入cmd打开命令行窗口,
输入pip install pandas 安装
输入pip install openai 安装
输入pip install openpyxl 安装