Giter Site home page Giter Site logo

sajiawuwu / chatgpt-website Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aniuyyds/chatgpt-website

0.0 0.0 0.0 3.89 MB

Render ChatGPT-website的后端版本,简易版 ChatGPT 网站,拿来即用,适合小白,让你十分钟搭建属于自己的 ChatGPT 问答机器人!

Home Page: https://aniuyyds.top/

License: MIT License

JavaScript 42.21% Python 17.45% CSS 20.88% HTML 19.46%

chatgpt-website's Introduction

ChatGPT-website

介绍

简易版 ChatGPT 网站,拿来即用,适合小白,让你十分钟搭建属于自己的 ChatGPT 问答机器人! 本项目是ChatGPT-website的镜像地址,只用于使用render 部署! 其他部署方式请访问原仓库:https://gitee.com/aniu-666/chat-gpt-website

使用说明

  1. 本项目后端用 flask 快速搭建,可使用render 云平台快速免费部署!

  2. 本项目支持 GPT-3.5-turboGPT-4,支持记录上下文实现连续对话!

  3. 本项目支持流式响应,markdown 实时转换为 html

23 年 5.12 日更新

  1. 可选多种页面主题。
  2. 可在本地保存自己的 api key 使用。如果本地不输入 api key,则默认使用 settings.py 配置文件中的 api key
  3. 可在本地保存历史对话记录,即页面刷新不会消失,默认关闭,可在页面设置中开启。
  4. 可选择是否开启上下文连续对话,默认开启,可在页面设置中关闭。
  5. 添加删除按钮,可自己清空页面对话。
  6. 添加截图保存按钮,可点击将对话数据保存为图片。
  7. 加入语法高亮功能,同时markdown代码块实时转html标签。
  8. 代码块添加一键复制功能。
  9. 上下文对话状态下为节约 tokens ,当对话超过4轮后,则选取最新3轮作为上下文发送。为避免有人不点击删除按钮而导致页面积累大量对话,跟 New Bing 一样,当上下文对话超过20轮,则无法继续发送,会提示点击删除按钮清空页面数据!
  10. 美化页面,优化页面布局使得不同设备更好的自适应。

23 年 5.24 日更新

  1. 修复截图宽度很宽的问题。
  2. 添加 GPT-4 模型,需要有 gpt-4 权限的 api key
  3. 添加停止响应按钮,输出结果不满意可停止响应。

注意

  1. 开发不易,拒绝白嫖,如果此小项目帮助到了您,希望能得到您的 star
  2. 页面可任各位修改,希望留下项目地址,为此项目吸引更多的 star !
  3. 项目使用开源代理:https://github.com/geekr-dev/openai-proxy ,点个 star 支持作者
  4. 此项目适合小白,主打简洁,可不断完善!
  5. 对于项目如有疑问,可加下面 QQ 群交流!
  6. 部署教程(零成本部署):https://guanzhu-aniu.blog.csdn.net/article/details/130912951
  7. 项目纯前端版本(零成本部署):https://gitee.com/aniu-666/chat-gpt-website/tree/web/

学习交流

qq 群号 :799160455

项目效果

PC端

图1 图2
图3 图4

手机端

图1 图2

chatgpt-website's People

Contributors

aniuyyds avatar sajiawuwu 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.