Giter Club home page Giter Club logo

lite.aios.chat's Introduction

Logo

lite aios chat

和ai对话的lite版网页端

View Demo · Report Bug · Request Feature

本项目基于 MIT 协议

Preview




Get Started

npm run inst # 安装

npm run dev # 运行

npm run dev:env # 运行时自动生成.env.development

当你运行 npm run dev:env 时会自动在根目录和server目录下生成一个.env.development文件。 你需要在server目录下的.env.development填写正确可用的API_KEY。

环境变量

请参考 .env.example 文件。

# 输入框的提示词
VITE_DEFAULT_PLACEHOLDER='发消息给AI'

# 输入框底部的消息
VITE_DEFAULT_BOTTOM_TIPS=''

# API_HOST
VITE_API_HOST='http://localhost:3000/aios-chat'

# 最多缓存的对话次数 不包括system信息
VITE_CACHE_TIMES=10

# BASE_URL
VITE_BASE_URL='/' # BASE_URL

# ai avator
VITE_AI_AVATOR_URL=''

# user avator
VITE_USER_USER_URL=''

已支持的功能

  • 上下文对话
  • 历史会话
  • markdown渲染
  • katex数学公式支持
  • 可一键分享当前会话
  • 流式传输
  • 暗夜模式

TODO

  • github action(打包验证,代码规范eslint等)
  • 使用自定义API Key
  • 预设场景化机器人system应用
  • prompt store
  • 添加后端BFF层
  • 添加http和socks代理配置或提供一些预置的openai接口代理
  • 访问权限控制
  • 可修改openai的模型(3.5、3.0)可修改接口参数temperature、model、temperature、frequency_penalty、presence_penalty
  • 多语言支持
  • 一键部署文档
  • GitHub pages自动部署
  • docker-compose编写

License

MIT License © AIOS-club

lite.aios.chat's People

Contributors

iwgyyyy avatar binjie09 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.