目录

LobeHub:超越智能AI聚合的新纪元!整合ChatGPT、Gemini Pro、Claude3、Mistral、LLaMA2等大模型,打开画图、联网、爬虫的全新可能性。

一款免费开源的项目即可搞定:ChatGPT、Claude、Google Gemini、Mistral、LLaMA2等主流AI大模型的无缝切换使用!

Lobe UI 是一个开源 UI 组件库,用于构建 AIGC Web 应用程序。

https://cdn.wenhaofree.com/gh/wenhaofree/Image/blog/image-20240404174619943.png

https://cdn.wenhaofree.com/gh/wenhaofree/Image/blog/image-20240404174549381.png

部署:

1.开源项目:【Github

2.通过免费容器进行一键安装!也可以通过【Vulr】进行搭建获得更快的速度。

一、Vercel服务器部署

Deploy with Vercel Deploy with Zeabur Deploy with Sealos
https://camo.githubusercontent.com/0d115430c1db17132964386282927e5e313543c7d868fc06bc9a7c65d7ec974e/68747470733a2f2f76657263656c2e636f6d2f627574746f6e https://camo.githubusercontent.com/7bbd819d76b4e67c04fe4d8a0d9cc7220e691f3d2177f6e54f84689ba380184e/68747470733a2f2f7a65616275722e636f6d2f627574746f6e2e737667 https://raw.githubusercontent.com/labring-actions/templates/main/Deploy-on-Sealos.svg

二、 Docker部署

https://camo.githubusercontent.com/7c3bafcf2ea6d169ec34d2f735ef84b8c7ea1451402c4f41f701294b5a330efb/68747470733a2f2f696d672e736869656c64732e696f2f646f636b65722f762f6c6f62656875622f6c6f62652d636861743f636f6c6f723d333639656666266c6162656c3d646f636b6572266c6162656c436f6c6f723d626c61636b266c6f676f3d646f636b6572266c6f676f436f6c6f723d7768697465267374796c653d666c61742d737175617265 https://camo.githubusercontent.com/38d94b4b90467a5ffa59fa01b9a9fcd627e667da0a119afa3c7009f5c425e33e/68747470733a2f2f696d672e736869656c64732e696f2f646f636b65722f696d6167652d73697a652f6c6f62656875622f6c6f62652d636861743f636f6c6f723d333639656666266c6162656c436f6c6f723d626c61636b267374796c653d666c61742d737175617265 https://camo.githubusercontent.com/0ab5339b42d77f1a9a4eb290cb7ce32e61a0fbf805a7a6488db12b4bee42effa/68747470733a2f2f696d672e736869656c64732e696f2f646f636b65722f70756c6c732f6c6f62656875622f6c6f62652d636861743f636f6c6f723d343563633131266c6162656c436f6c6f723d626c61636b267374796c653d666c61742d737175617265

我们提供了一个Docker映像,用于在您自己的私人设备上部署LobeChat服务。使用以下命令启动LobeChat服务:

$ docker run -d -p 3210:3210 \
  -e OPENAI_API_KEY=sk-xxxx \
  -e ACCESS_CODE=lobe66 \
  --name lobe-chat \
  lobehub/lobe-chat

如果您需要通过代理使用OpenAI服务,您可以使用OPENAI_PROXY_URL环境变量配置代理地址:

$ docker run -d -p 3210:3210 \
  -e OPENAI_API_KEY=sk-xxxx \
  -e OPENAI_PROXY_URL=https://api-proxy.com/v1 \
  -e ACCESS_CODE=lobe66 \
  --name lobe-chat \
  lobehub/lobe-chat

三、本地部署Local Development

$ git clone https://github.com/lobehub/lobe-chat.git
$ cd lobe-chat
$ pnpm install
$ pnpm dev

手残党必选:

1.在线使用地址:

2.关于移动端同步:

  1. 设置同步按钮操作:

    https://cdn.wenhaofree.com/gh/wenhaofree/Image/blog/image-20240406214913452.png

https://cdn.wenhaofree.com/gh/wenhaofree/Image/blog/image-20240406220533274.png

https://cdn.wenhaofree.com/gh/wenhaofree/Image/blog/image-20240406221650618.png

3.关于模型选择:

  • 使用在线地址的模型,默认只有OpenAI的ChatGPT。 如果需要其他模型需要自行配置
  • https://cdn.wenhaofree.com/gh/wenhaofree/Image/blog/image-20240406215336615.png

4. 关于修改密码:

https://cdn.wenhaofree.com/gh/wenhaofree/Image/blog/image-20240406220008590.png