Skip to content
/ chat Public

chat web app for teams, sass with user management and ratelimit, support chatgpt(openai & azure), claude, gemini and ollama model

Notifications You must be signed in to change notification settings

swuecho/chat

Repository files navigation

Demo

image image thinking

image

image

image

image chat records chat record comments

规则

  • 第一个消息是系统消息(prompt)
  • 上下文默认附带最新创建的4条消息
  • 第一个注册的用户是管理员
  • 默认限流 100 chatGPT call /10分钟 (OPENAI_RATELIMIT=100)
  • 根据对话生成可以分享的静态页面(like ShareGPT), 也可以继续会话.
  • 对话快照目录(对话集), 支持全文查找(English), 方便整理, 搜索会话记录.
  • 支持OPEN AI, Claude 模型
  • 支持Ollama host模型, 配置参考: #396
  • 支持上传文本文件
  • 支持多媒体文件, 需要模型支持
  • 提示词管理, 提示词快捷键 '/'

(可选)对话标题用 gemini-2.0-flash 生成, 所以需要配置该模型, 不配置默认用提示词前100个字符

文档

开发指南

部署指南

致谢

LICENCE: MIT

Rules

  • The first message is a system message (prompt)
  • By default, the latest 4 messages are included in context
  • The first registered user becomes administrator
  • Default rate limit: 100 ChatGPT calls per 10 minutes (OPENAI_RATELIMIT=100)
  • Generate shareable static pages from conversations (like ShareGPT), or continue conversations
  • Conversation snapshots directory supports full-text search (English), making it easy to organize and search conversation history
  • Supports OpenAI and Claude models
  • Supports Ollama host models, configuration reference: #396
  • Supports text file uploads
  • Supports multimedia files (requires model support)
  • Prompt management with '/' shortcut

(Optional) Conversation titles are generated by gemini-2.0-flash, so this model needs to be configured. If not configured, the first 100 characters of the prompt will be used as the title.

Documentation

Development Guide

Deployment Guide

Acknowledgments

About

chat web app for teams, sass with user management and ratelimit, support chatgpt(openai & azure), claude, gemini and ollama model

Topics

Resources

Stars

Watchers

Forks

Packages