You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
763 B
Markdown

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# chatgpt
PHP版调用chatgpt接口进行问答的Demo。
页面UI简洁,支持连续对话,支持保存查询日志。只需要修改message.php中的API_KEY即可使用。
index.php前面的代码还可以实现区分内外网IP,内网直接访问,外网通过BASIC认证后可访问。可以根据需要删掉注释并进行修改。
适合放在公司内网,让同事们一起体验chatGPT的强大功能,或者自己用。
![微信截图_20230216175637](https://user-images.githubusercontent.com/5563148/219332005-da550336-723d-4eef-9a67-ae16b0cca8ea.png)
对chatgpt感兴趣的同学们欢迎加群讨论
![微信截图_20230216182019](https://user-images.githubusercontent.com/5563148/219337838-35db2149-18c6-439c-827c-0889330a34f5.png)