Replies: 1 comment
-
|
抱歉,补充声明:这不是一个报错。再次感谢项目组的天才们。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
总结一下流程
连接方式 :
用户点击网页
↓
open-webui(前端)
↓
➕Tools插件调用
↓
mcpo(Tool Server)
↓
openapi-server
↑
比如whisper,ollama,朗读接口...
安装内容 :
安装ollama、open-webui的dev分支、系统级(或在后面两个项目中)安装uv、安装openapi-servers,安装mcpo(可选)
使用流程 :
运行ollama
ollama run <your model's name> —终端窗口1
启动open-webui
cd ~/open-webui —终端窗口2
激活虚拟环境
open-webui serve
启动openapi-servers
激活虚拟环境 —终端窗口3
cd ~/openapi-servers
cd servers/time
uvicorn main:app --host 0.0.0.0 --reload
启动mcpo
cd ~/mcpo —终端窗口4
激活虚拟环境
uvx mcpo --port 8000 -- uvx mcp-ollama
浏览器打开http://localhost:8000
进入设置->工具,按“+”按钮添加一个服务器http://0.0.0.0:8000,点确定
进入新聊天窗口,输入框右侧可以看到“1可用工具”
输入:请用模型 <your model's name> 回答以下问题:帮我搜索关于“U2”乐队的资料。
Beta Was this translation helpful? Give feedback.
All reactions