Coder Social home page Coder Social logo

chat-aegis's Introduction

ChatGPT-UI

仿照 New Bing等样式,为ChatGPT API提供了一个轻快好用的Web图形界面

预览地址

默认采取了对话过多时,避免 tokens 过多,做了聊天记录截取,实际最多保留8组对话被传入接口中,如有需要可全局搜 保留8组对话 定位到代码位置进行修改

使用技巧

  • 使用System Prompt可以很有效地设定前提条件。
  • 使用Prompt模板功能时,从下拉菜单中选择想要的prompt。
  • 输入框支持换行,按shift + Enter即可。

配置

填写API密钥

  • 可以再代码文件 .env.development.env.production 文件中 配置 VITE_API_KEY,
    • .env.development 为开发环境
    • .env.production 为生产环境
VITE_API_KEY = ""

# 修改为:
VITE_API_KEY = sk-xxxxxxxxxxxxxxxxx
  • 不配置API-KEY,启动项目后,在页面中配置也可以

运行方式

安装依赖

npm install

运行

npm run dev

部署

运行

npm run build

chat-aegis's People

Contributors

lupeiwen0 avatar

Watchers

 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.