网站在网络文化建设方面的成果,响应式网站源码,自己做网站网页归档,手机app下载平台哪个好Open WebUI 前身就是 Ollama WebUI#xff0c;为 Ollama 提供一个可视化界面#xff0c;可以完全离线运行#xff0c;支持 Ollama 和兼容 OpenAI 的 API。 github网址
https://github.com/open-webui/open-webui安装
第一种 docker安装
如果ollama 安装在同一台服务器上为 Ollama 提供一个可视化界面可以完全离线运行支持 Ollama 和兼容 OpenAI 的 API。 github网址
https://github.com/open-webui/open-webui安装
第一种 docker安装
如果ollama 安装在同一台服务器上
docker run -d -p 3000:8080 --add-hosthost.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main如果不在同一台服务器上
docker run -d -p 3000:8080 -e OLLAMA_BASE_URLhttps://example.com -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main如果有NVIDIA的GPU
docker run -d -p 3000:8080 --gpus all --add-hosthost.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:cuda还有一些安装细节可以参考https://docs.openwebui.com/ 查看
其他安装方法
pip
注意这个有版本要求 Python 3.11 is required for this method
安装
pip install open-webui使用
open-webui serve从open webui的github repo
要求 Node.js 20.10 Python 3.11 在linux或者macos
git clone https://github.com/open-webui/open-webui.git
cd open-webui/# Copying required .env file
cp -RPp .env.example .env# Building Frontend Using Node
npm install
npm run buildcd ./backend# Optional: To install using Conda as your development environment, follow these instructions:
# Create and activate a Conda environment
conda create --name open-webui-env python3.11
conda activate open-webui-env# Install dependencies
pip install -r requirements.txt -U# Start the application
bash start.sh在windows下
git clone https://github.com/open-webui/open-webui.git
cd open-webuicopy .env.example .envnpm install
npm run buildcd .\backend# Optional: To install using Conda as your development environment, follow these instructions:
# Create and activate a Conda environment
conda create --name open-webui-env python3.11
conda activate open-webui-envpip install -r requirements.txt -Ustart.bat安装完成后 openwebui运行在http://localhost:8080/上了
完全离线安装
上面是比较推荐的方法如果完全离线可以从python官网下载python然后官网下载open webui
python
https://www.python.org/downloads/ linux版本通常是source 版本 到linux安装
open webui https://pypi.org/project/open-webui/#files
运行起来后可以跟chatgpt一样的界面进行对话了另外WebUI 还天然支持RAG可以尝试上传资料等