Skip to content

A simple interact with chatgpt using python script.

Notifications You must be signed in to change notification settings

cageyoko/chatgpt-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  1. OpenAI账号注册, 在config.json中填入你的api.
  2. pip3 install openai
  3. python3 bot.py 就可以多轮对话
  4. 输入#clear清楚当前轮次对话
  5. 输入stop中止聊天

效果如图所示: image

目的: 方便测试GPT在不同数据集在NLP or Spoken Text任务上的性能。

简化后的python脚本, 代码来自: https://github.com/zhayujie/chatgpt-on-wechat

About

A simple interact with chatgpt using python script.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages