本文主要是介绍Ollama整合open-webui的步骤及访问,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
《Ollama整合open-webui的步骤及访问》:本文主要介绍如何通过源码方式安装OpenWebUI,并详细说明了安装步骤、环境要求以及第一次使用时的账号注册和模型选择过程,需要的朋友可以参考...
安装
官方安装地址:https://docs.openwebui.com/getting-started/
有两种安装方式,docker和源码。
熟悉dockpythoner的同学可以采用该方式。
本文以源码的形式进行安装。
环境要求
熟练使用python
Python >= 3.11
步骤
克隆代码 git clone https://github.com/open-webui/open-webui.git cdPjrIUE 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的文python章就介绍到这了,更多相关Ollama整合open-webui内容请搜索China编程(www.chinasem.cn)以前的文章或继续浏览下面的相关文章希望大家以后多多支持编程China编程(www.chinasem.cn)!
这篇关于Ollama整合open-webui的步骤及访问的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!