Giter Club home page Giter Club logo

chatgpt-web's Introduction

Update

  • 2023.2.20 支持markdown语法
  • 2023.2.19 重构关键代码,内置本人使用的UI,支持查看对话记录

感谢某爱心人士捐助,https://gpt.sheepig.top/chat 已恢复使用

chatgpt-web

使用GPT-3.5中的text-davinci-003模型,利用OpenAI API实现简单HTML网页版在线聊天(基于此项目调整而来)

该版本基于OPENAI API KEY开发,想使用ChatGPT的请访问chatgpt-html

G L%7VF I~{@83}SVRI_WPN(重要)ChatGPT与GPT-3.5(OpenAI API)的区别

  • OpenAI官方网页中,我们可以看到官方对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. ChatGPT and GPT 3.5 were trained on an Azure AI supercomputing infrastructure”,从而得知ChatGPT与GPT-3.5是两个不同产品
  • 官方对GPT-3.5系列的介绍里,text-davinci-003是其中的模型之一
  • 我们再查阅官方对OpenAI API KEY的介绍,其中有一句“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赫然在列

I4{CU~ G( OH$WR_ T_1JWF 至此,我们可以得出结论:现在所有使用OpenAI API KEY的项目,都不是基于ChatGPT开发的项目,官方并未发布ChatGPT的API接口

  • 事实上,ChatGPT最近发生过登录认证风波,想了解详细过程的可以查看这个issue
  • 如果你自己有分别使用过ChatGPT的官方chat和OpenAI的API接口chat,你会发现API接口chat比ChatGPT的官方chat“笨”得多

部署

获取OpenAI API KEY

配置

从源码配置

使用Docker Compose

  • 新建docker-compose.yml配置文件,粘贴以下内容并保存
services:
  chatgpt:
    image: sheepgreen/chatgpt-web #如果是arm架构,需要改成chatgpt-web:arm
    container_name: webchat
    environment:
      - OPENAI_API_KEY=前面你获取到的OpenAI API KEY
#    volumes:
#      - ./chat.html:/chatgpt-web/templates/chat.html #默认内置我的UI,如需替换自用网页请取消注释
    ports:
      - "8888:8088" #8088为容器内部端口,不可更改;8888为外部映射端口,可自行更改
    restart: always
  • 输入docker-compose up -d即启动成功

注意事项

chatgpt-web's People

Contributors

slippersheepig avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.