Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (6.2%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: kobe-heli
- License: gpl-3.0
- Language: Python
- Default Branch: main
- Homepage: https://chuanhu-gray.vercel.app
- Size: 192 KB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
川虎 Chat 🐯 Chuanhu Chat
为ChatGPT等多种LLM提供了一个轻快好用的Web图形界面和众多附加功能
流式传输 / 无限对话 / 保存对话 / 预设Prompt集 / 联网搜索 / 根据文件回答
渲染LaTeX / 渲染表格 / 代码高亮 / 自动亮暗色切换 / 自适应界面 / “小而美”的体验
自定义api-Host / 多参数可调 / 多API Key均衡负载 / 多用户显示 / 适配GPT-4 / 支持本地部署LLM
目录
| 支持模型 | 使用技巧 | 安装方式 | 常见问题 | 给作者买可乐🥤 | | ------------------ | ------------------ | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------- |
支持模型
通过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反应可能会快一点。
快速上手
shell
git clone https://github.com/GaiZhenbiao/ChuanhuChatGPT.git
cd ChuanhuChatGPT
pip install -r requirements.txt
然后,在项目文件夹中复制一份 config_example.json,并将其重命名为 config.json,在其中填入 API-Key 等设置。
shell
python ChuanhuChatbot.py
一个浏览器窗口将会自动打开,此时您将可以使用 川虎Chat 与ChatGPT或其他模型进行对话。
Note
具体详尽的安装教程和使用教程请查看本项目的wiki页面。
疑难杂症解决
在遇到各种问题查阅相关信息前,您可以先尝试手动拉取本项目的最新更改并更新依赖库,然后重试。步骤为:
- 点击网页上的
Download ZIP下载最新代码,或shell git pull https://github.com/GaiZhenbiao/ChuanhuChatGPT.git main -f - 尝试再次安装依赖(可能本项目引入了新的依赖)
pip install -r requirements.txt
很多时候,这样就可以解决问题。
如果问题仍然存在,请查阅该页面:常见问题
该页面列出了几乎所有您可能遇到的各种问题,包括如何配置代理,以及遇到问题后您该采取的措施,请务必认真阅读。
了解更多
若需了解更多信息,请查看我们的 wiki:
Starchart
Contributors
捐款
🐯如果觉得这个软件对你有所帮助,欢迎请作者喝可乐、喝咖啡~
联系作者:请去我的bilibili账号私信我。
Owner
- Name: Kumi
- Login: kobe-heli
- Kind: user
- Location: China
- Repositories: 1
- Profile: https://github.com/kobe-heli
Citation (CITATION.cff)
cff-version: 1.2.0
title: Chuanhu Chat
message: >-
If you use this software, please cite it using these
metadata.
type: software
authors:
- given-names: Chuanhu
orcid: https://orcid.org/0000-0001-8954-8598
- given-names: MZhao
orcid: https://orcid.org/0000-0003-2298-6213
- given-names: Keldos
orcid: https://orcid.org/0009-0005-0357-272X
repository-code: 'https://github.com/GaiZhenbiao/ChuanhuChatGPT'
url: 'https://github.com/GaiZhenbiao/ChuanhuChatGPT'
abstract: This software provides a light and easy-to-use interface for ChatGPT API and many LLMs.
license: GPL-3.0
commit: c6c08bc62ef80e37c8be52f65f9b6051a7eea1fa
version: '20230709'
date-released: '2023-07-09'
GitHub Events
Total
Last Year
Dependencies
- python 3.9-slim-buster build
- PyPDF2 *
- Pygments *
- arxiv *
- colorama *
- commentjson *
- duckduckgo-search *
- faiss-cpu ==1.7.4
- google-api-python-client *
- google.generativeai *
- googlesearch-python *
- gradio ==3.36.1
- gradio_client ==0.2.7
- langchain ==0.0.173
- markdown *
- openai *
- openpyxl *
- pandas *
- pandoc *
- pdfplumber *
- pypinyin *
- socksio *
- tabulate *
- tiktoken *
- tqdm *
- unstructured *
- wikipedia *
- wolframalpha *
- accelerate *
- cpm-kernels *
- datasets *
- huggingface_hub *
- icetk *
- protobuf ==3.19.0
- sentence_transformers *
- sentencepiece *
- torch *
- transformers *