Ollama整合open-webui的步骤及访问
安装
官方安装地址:https://docs.openwebui.com/getting-started/
有两种安装方式,docker和源码。
熟悉docker的同学可以采用该方式。
本文以源码的形式进行安装。
环境要求
熟练使用python
🐰 Node.js >= 20.10
🐍 Python >= 3.11
步骤
克隆代码 git clone https://github.com/open-webui/open-webui.git cd open-webui/ 拷贝.env文件,可鼠标右键复制粘贴 # Copying required .env file cp -RPp .env.example .env 构建前端页面 # Building Frontend Using Node npm i npm run build 构建后端 # Serving Frontend with the Backend cd ./backend pip install -r requirements.txt -U 启动服务 linux or mac:bash start.sh windows:start_windows.bat

访问
打开地址:127.0.0.1:8000
第一次打开的时候,需要注册一个账号。(如admin/admin)
册的第一个用户默认为管理员账号,以后注册的账号角色均为pending(待分配权限)。
选择模型

开始对话

总结
到此这篇关于Ollama整合open-webui的文章就介绍到这了,更多相关Ollama整合open-webui内容请搜索脚本之家以前的文章或继续浏览下面的相关文章希望大家以后多多支持脚本之家!
相关文章
总结近几年Pytorch基于Imgagenet数据集图像分类模型
在过去的几年里,许多深度学习模型涌现出来,例如层的类型、超参数等。在本系列中,我将回顾几个最显着的 deeplearn 图像分类的模型2021-08-08
kali2021.4a使用virtualenv安装angr的详细过程
在Linux中安装各种依赖python的软件时,最头疼的问题之一就是各个软件的python版本不匹配的问题,angr依赖python3,因此考虑使用virtualenv来安装angr,需要的朋友可以参考下2022-11-11


最新评论