Git Product home page Git Product logo

tikazyq / chuanhuchatgpt Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gaizhenbiao/chuanhuchatgpt

1.0 1.0 0.0 2.21 MB

GUI for ChatGPT API and many LLMs. Supports agents, file-based QA, GPT finetuning and query with web search. All with a neat UI.

Home Page: https://huggingface.co/spaces/JohnSmith9982/ChuanhuChatGPT

License: GNU General Public License v3.0

Shell 0.28% JavaScript 15.33% Python 63.49% CSS 11.28% HTML 9.41% Batchfile 0.09% Dockerfile 0.13%

chuanhuchatgpt's Introduction

简体中文 | English | 日本語 | Russian

川虎 Chat 🐯 Chuanhu Chat

Logo

为ChatGPT等多种LLM提供了一个轻快好用的Web图形界面和众多附加功能

Tests Passing GitHub Contributors GitHub pull requests

流式传输 / 无限对话 / 保存对话 / 预设Prompt集 / 联网搜索 / 根据文件回答
渲染LaTeX / 渲染表格 / 代码高亮 / 自动亮暗色切换 / 自适应界面 / “小而美”的体验
自定义api-Host / 多参数可调 / 多API Key均衡负载 / 多用户显示 / 适配GPT-4 / 支持本地部署LLM

视频教程 · 2.0介绍视频 || 在线体验 · 一键部署

Chuanhu5.0.webm

目录

支持模型 使用技巧 安装方式 常见问题 给作者买可乐🥤

支持模型

通过API调用的语言模型

本地部署语言模型

使用技巧

  • 使用System Prompt可以很有效地设定前提条件。
  • 使用Prompt模板功能时,选择Prompt模板集合文件,然后从下拉菜单中选择想要的prompt。
  • 如果回答不满意,可以使用 重新生成按钮再试一次
  • 输入框支持换行,按 shift enter即可。
  • 可以在输入框按上下箭头在输入历史之间切换
  • 部署到服务器:在 config.json 中设置 "server_name": "0.0.0.0", "server_port": <你的端口号>,
  • 获取公共链接:在 config.json 中设置 "share": true,。注意程序必须在运行,才能通过公共链接访问。
  • 在Hugging Face上使用:建议在右上角 复制Space 再使用,这样App反应可能会快一点。

快速上手

git clone https://github.com/GaiZhenbiao/ChuanhuChatGPT.git
cd ChuanhuChatGPT
pip install -r requirements.txt

然后,在项目文件夹中复制一份 config_example.json,并将其重命名为 config.json,在其中填入 API-Key 等设置。

python ChuanhuChatbot.py

一个浏览器窗口将会自动打开,此时您将可以使用 川虎Chat 与ChatGPT或其他模型进行对话。

Note

具体详尽的安装教程和使用教程请查看本项目的wiki页面

疑难杂症解决

在遇到各种问题查阅相关信息前,您可以先尝试手动拉取本项目的最新更改并更新依赖库,然后重试。步骤为:

  1. 点击网页上的 Download ZIP 下载最新代码,或
    git pull https://github.com/GaiZhenbiao/ChuanhuChatGPT.git main -f
  2. 尝试再次安装依赖(可能本项目引入了新的依赖)
    pip install -r requirements.txt
    

很多时候,这样就可以解决问题。

如果问题仍然存在,请查阅该页面:常见问题

该页面列出了几乎所有您可能遇到的各种问题,包括如何配置代理,以及遇到问题后您该采取的措施,请务必认真阅读

了解更多

若需了解更多信息,请查看我们的 wiki

Starchart

Star History Chart

Contributors

捐款

🐯如果觉得这个软件对你有所帮助,欢迎请作者喝可乐、喝咖啡~

联系作者:请去我的bilibili账号私信我。

Buy Me A Coffee

image

chuanhuchatgpt's People

Contributors

2p990i9hpral avatar binary-husky avatar bropines avatar chenhengjie123 avatar chinwh2019 avatar eralien avatar gaizhenbiao avatar gghyoo avatar hsungong avatar ihomesoft avatar ina111 avatar iskoldt-x avatar keldos-li avatar kilig947 avatar libukai avatar lihuacai168 avatar mzhao-ouo avatar noahzark avatar paradoxzw avatar pedrogruvhagen avatar plucury avatar qingxudw avatar redheartsecretman avatar s3xysteak avatar samge0 avatar sifue avatar tuteng0915 avatar xhongc avatar xingfanxia avatar xzajyjs avatar

Stargazers

 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.