diff --git a/README.md b/README.md index d84717c..da5ae5d 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,21 @@ # Self-Hosted AI +The API interface of this project is compatible with openai, and various open-source projects using openai can be easily +adapted. In addition, I also call on everyone to develop compatible API interfaces in a similar way, which is conducive +to the development of related applications. + +## Usage Example + +Go to https://github.com/josStorer/chatGPTBox, and switch to the following API mode to quickly experience: + + + ## Chat + 1. [ChatGLM 6B Int4](https://github.com/THUDM/ChatGLM-6B) - [Offline](https://github.com/josStorer/selfhostedAI/releases) - [Self-Hosted](https://huggingface.co/spaces/josStorer/ChatGLM-6B-Int4-API-OpenAI-Compatible) + + This package is based on ChatGLM, open-sourced under the Apache-2.0 license. The built-in model is a trimmed version + of https://huggingface.co/silver/chatglm-6b-int4-slim. After unzipping, simply double-click run.bat to launch. diff --git a/README_ZH.md b/README_ZH.md index dc98c7c..71187bb 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -2,7 +2,21 @@ # 自托管AI +该项目的API接口兼容openai, 各类使用openai的开源项目能够非常方便适配, 此外我也呼吁大家使用相似的方式开发兼容性API接口, +便于相关应用的发展 + +## 使用示例 + +前往 https://github.com/josStorer/chatGPTBox, 并切换至如下API模式即可快速体验: + + + ## 聊天 + 1. [ChatGLM 6B Int4](https://github.com/THUDM/ChatGLM-6B) - - [离线包](https://github.com/josStorer/selfhostedAI/releases), 可选[百度网盘](https://pan.baidu.com/s/1wchIUHgne3gncIiLIeKBEQ?pwd=1111) + - [离线包](https://github.com/josStorer/selfhostedAI/releases), + 可选[百度网盘](https://pan.baidu.com/s/1wchIUHgne3gncIiLIeKBEQ?pwd=1111) - [自托管](https://huggingface.co/spaces/josStorer/ChatGLM-6B-Int4-API-OpenAI-Compatible) + + 该包基于ChatGLM, 遵循Apache-2.0协议开源, 内置模型为 https://huggingface.co/silver/chatglm-6b-int4-slim 的裁切版, + 解压后直接双击run.bat启动,