# web-chatgpt **Repository Path**: personal-learning_4/web-chatgpt ## Basic Information - **Project Name**: web-chatgpt - **Description**: 简单的web chatgpt聊天界面 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2023-02-13 - **Last Updated**: 2023-02-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # chatgpt-web ### 使用GPT-3.5中的text-davinci-003模型,利用OpenAI API实现简单HTML网页版在线聊天(基于[此项目](https://github.com/AlliotTech/chatgpt-web)调整而来) > 该版本基于OPENAI API KEY开发,想使用`ChatGPT`的请访问[chatgpt-html](https://github.com/slippersheepig/chatgpt-html) #### (重要)ChatGPT与GPT-3.5(OpenAI API)的区别 - 在[OpenAI官方网页](https://openai.com/blog/chatgpt/)中,我们可以看到官方对ChatGPT的描述为“ChatGPT is fine-tuned from a model in the GPT-3.5 series, which finished training in early 2022. You can learn more about the 3.5 series [here](https://beta.openai.com/docs/model-index-for-researchers). ChatGPT and GPT 3.5 were trained on an Azure AI supercomputing infrastructure”,从而得知ChatGPT与GPT-3.5是两个不同产品 - 官方对GPT-3.5系列的[介绍](https://beta.openai.com/docs/model-index-for-researchers)里,`text-davinci-003`是其中的模型之一 - 我们再查阅官方对OpenAI API KEY的[介绍](https://beta.openai.com/docs/introduction/key-concepts),其中有一句“The API is powered by a set of models with different capabilities and price points. Our base GPT-3 models are called Davinci, Curie, Babbage and Ada”,davinci赫然在列 ####  至此,我们可以得出结论:现在所有使用OpenAI API KEY的项目,`都不是基于ChatGPT开发的项目`,官方并未发布ChatGPT的API接口 - 事实上,ChatGPT最近发生过登录认证风波,想了解详细过程的可以查看这个[issue](https://github.com/acheong08/ChatGPT/issues/261) - 如果你自己有分别使用过ChatGPT的官方chat和OpenAI的API接口chat,你会发现API接口chat比ChatGPT的官方chat“笨”得多 ## 部署 ### 获取OpenAI API KEY - 建议参考[此教程](https://blog.csdn.net/hekaiyou/article/details/128303729)获取 ### 配置 #### 从源码配置 - 请参考原作者[github](https://github.com/AlliotTech/chatgpt-web) #### 使用Docker Compose - 新建`chat.html`网页文件,粘贴以下代码并保存(UI很丑,建议各自美化) ```html
{{ question }}
{{ res }}