zyxrtfjku / chatgpt Goto Github PK
View Code? Open in Web Editor NEWThis project forked from dirk1983/chatgpt
PHP版调用OpenAI最新接口和模型gpt-3.5-turbo进行问答的Demo,理论上和ChatGPT一样。页面UI简洁,支持上下文连续会话,支持保存查询日志。源码只有两个文件,没用任何框架,支持所有PHP版本,只需要修改message.php中的API_KEY即可使用。