Skip to content

Commit

Permalink
update logs
Browse files Browse the repository at this point in the history
  • Loading branch information
zmh-program committed Dec 26, 2023
1 parent 552d300 commit 6487a48
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,6 @@ Apache License 2.0
## 写在最后
Chat Nio 方向更多是提供一站式服务:
- 不会考虑前端自定义 Endpoint (考虑到 token 的安全性),不会考虑脱离后端纯前端运行来支持 Vercel / Netify 一键部署,如追求轻量化部署请前往 [Next Web](https://github.com/Yidadaa/ChatGPT-Next-Web) / [Chat Box](https://github.com/Bin-Huang/chatbox) 等优秀的开源项目, Chat Nio 相较于轻量化的优势在于更便捷的跨设备同步,仅需登录账户就可同步设置 / 对话等功能,以及平台内置的功能。然而仍然可以通过 Key 中转来使用此类项目。
- 不会考虑支持 Midjourney Proxy 中转回调等其他一众格式的中转,如仅需搭建中转服务请右转 [One API](https://github.com/songquanpeng/one-api) 等项目即使在其项目架构和代码都很生 🌿 的情况下,我仍然推荐你使用其服务进行中转,毕竟活跃的开发者们和社区,以及项目的方向性和针对性,经过时间考验是值得推荐的成熟的方案。 Chat Nio 的中转偏向 **Chat**,带来的好处是你可以无需自行兼容代码在 nextweb 等项目中直接使用该格式,如 GPT 4 Vision Preview(仅需在消息中复制 URL 即可),DALL-E,Midjourney 类等模型可直接使用聊天接口,依托于 Chat Nio 的 Adapter 层设计,可进行方便使用而无需自行兼容格式。
- 不会考虑支持 Midjourney Proxy 中转回调等其他一众格式的中转,如仅需搭建中转服务请右转 [One API](https://github.com/songquanpeng/one-api) 等项目即使在其项目架构和代码并非 *"最佳方案"* 的情况下 (说不好听就是因为在一个小架构上进行扩充形成大架构在后期看来很生 🌿, 包括前端 i18n),我仍然推荐你使用其服务进行中转,毕竟活跃的开发者们和社区,以及项目的方向性和针对性,经过时间考验是值得推荐的成熟的方案。 Chat Nio 的中转偏向 **Chat**,带来的好处是你可以无需自行兼容代码在 nextweb 等项目中直接使用该格式,如 GPT 4 Vision Preview(仅需在消息中复制 URL 即可),DALL-E,Midjourney 类等模型可直接使用聊天接口,依托于 Chat Nio 的 Adapter 层设计,可进行方便使用而无需自行兼容格式。
- 还有一点需要注意的是,正如上文所说,我后期在时间不宽裕的情况下不会去考虑支持非导向为 Chat 的 Fine Tuning / Embeddings 等微调类模型,请右转。在 issue 里被我忽略或者关闭请不要不满。作为中学生(无他意,我不喜欢打年龄牌),我的时间有限,如果我不认为你的建议是值得去实现的,我不会去浪费时间。同时,不看文档提问题,不看相同 issue 提问题永远不是值得推荐的,同样适用于社区群中。
- 顺带一提,不要以一个非友好状态来提问,学会良好的提问是推荐的。我不推荐你认为你自己是高人一等的。
2 changes: 1 addition & 1 deletion app/src/resources/i18n/cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@
},
"admin": {
"dashboard": "仪表盘",
"users": "用户管理",
"users": "后台管理",
"broadcast": "公告管理",
"channel": "渠道设置",
"settings": "系统设置",
Expand Down
2 changes: 1 addition & 1 deletion app/src/resources/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
},
"admin": {
"dashboard": "Dashboard",
"users": "User Management",
"users": "Admin Management",
"broadcast": "Broadcast Management",
"channel": "Channel Settings",
"settings": "System Settings",
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ services:
SERVE_STATIC: "true"
volumes:
- ./config:/config
- ./logs:/logs
networks:
- chatnio-network

Expand Down
7 changes: 0 additions & 7 deletions globals/variables.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,6 @@ const (
Midjourney = "midjourney"
MidjourneyFast = "midjourney-fast"
MidjourneyTurbo = "midjourney-turbo"
StableDiffusion = "stable-diffusion"
LLaMa270B = "llama-2-70b"
LLaMa213B = "llama-2-13b"
LLaMa27B = "llama-2-7b"
CodeLLaMa34B = "code-llama-34b"
CodeLLaMa13B = "code-llama-13b"
CodeLLaMa7B = "code-llama-7b"
Hunyuan = "hunyuan"
GPT360V9 = "360-gpt-v9"
Baichuan53B = "baichuan-53b"
Expand Down

0 comments on commit 6487a48

Please sign in to comment.