chatgpt国内镜像 pycharm idea插件使用详解
作者:jcs?ssc 时间:2022-03-29 10:08:41
ChatGPT(全名:Chat Generative Pre-trained Transformer),美国OpenAI 研发的聊天机器人程序,于2022年11月30日发布 。ChatGPT是人工智能技术驱动的自然语言处理工具,它能够通过学习和理解人类的语言来进行对话,还能根据聊天的上下文进行互动,真正像人类一样来聊天交流,甚至能完成撰写邮件、视频脚本、文案、翻译、代码,写论文等任务。
本文重点介绍chatgpt国内镜像 pycharm idea插件,一起看看吧!
这里是引用
python可以用openai库 api_key
import openai
openai.api_key="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"
def generate_response(prompt):
completions = openai.Completion.create(
engine="text-davinci-001",
prompt=prompt,
max_tokens=1024,
n=1,
stop=None,
temperature=0.5,
)
message = completions.choices[0].text
return message.strip()
print(generate_response("用js 求列表长度"))
openai 的接口
curl https://api.openai.com/v1/embeddings \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-d '{"input": "Sample document text goes here",
"model":"text-similarity-babbage-001"}'
打包后效果:
百度网盘下载链接:
链接: https://pan.baidu.com/s/13jXcf9u9aNocQ_UuQ7PZ1A
提取码: uwnm
或:
链接: https://pan.baidu.com/s/1OC2H2GExUXEPTdwkI7t-Vw?pwd=ms4j
提取码: ms4j
2023-2-15
以上库已经不能使用了
最新:
国内镜像:https://chat.forchange.cn
pycharm idea插件-zip安装:
链接: https://pan.baidu.com/s/1sHreszL6Etr3HwKEafdlxA
提取码: sc72
或:
链接: https://pan.baidu.com/s/1PcOglHDVLStldYbgWBOa7w?pwd=gvtx
提取码: gvtx
来源:https://blog.csdn.net/qq_37299108/article/details/128263683
标签:chatgpt,国内镜像,pycharm,idea
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
python3 循环读取excel文件并写入json操作
2022-11-07 15:40:11
![](https://img.aspxhome.com/file/2023/3/82673_0s.jpg)
python列表添加元素append(),extend(),insert(),+list的区别及说明
2022-12-11 08:48:35
![](https://img.aspxhome.com/file/2023/1/95161_0s.png)
Python运算符教程之逻辑门详解
2021-05-17 04:32:54
![](https://img.aspxhome.com/file/2023/7/115237_0s.png)
五分钟学会Python 模块和包、文件
2023-06-01 20:05:38
![](https://img.aspxhome.com/file/2023/8/79488_0s.png)
一条sql 语句搞定数据库分页
2009-03-21 18:32:00
django列表筛选功能的实现代码
2021-06-23 08:48:57
帮助你分析MySQL的数据类型以及建库策略
2009-02-23 17:39:00
python virtualenv虚拟环境配置与使用教程详解
2023-01-21 23:06:56
![](https://img.aspxhome.com/file/2023/6/87826_0s.png)
常用的10个Python实用小技巧
2023-03-21 13:59:23
python技能之数据导出excel的实例代码
2022-09-21 15:01:53
![](https://img.aspxhome.com/file/2023/5/124745_0s.png)
解决php-fpm.service not found问题的办法
2023-11-21 14:26:21
asp.net DropDownList实现二级联动效果
2023-07-23 07:48:41
![](https://img.aspxhome.com/file/2023/6/79976_0s.jpg)
用Python的SimPy库简化复杂的编程模型的介绍
2023-06-19 16:55:45
深入理解NumPy简明教程---数组3(组合)
2023-07-15 06:22:39
Python3实现汉语转换为汉语拼音
2022-02-28 11:27:54
![](https://img.aspxhome.com/file/2023/0/118500_0s.jpg)
Python迷宫生成和迷宫破解算法实例
2023-12-11 11:46:43
![](https://img.aspxhome.com/file/2023/9/133179_0s.jpg)
PyTorch中可视化工具的使用
2021-03-05 23:11:39
![](https://img.aspxhome.com/file/2023/0/87500_0s.jpg)
解读sqlalchemy的常用数据类型有哪些
2022-02-19 19:42:17
![](https://img.aspxhome.com/file/2023/1/133431_0s.png)
基于python进行桶排序与基数排序的总结
2023-06-13 17:32:33
python安装sklearn模块的方法详解
2023-08-01 17:23:48
![](https://img.aspxhome.com/file/2023/9/61969_0s.jpg)