热门

最新

红包

立Flag

投票

同城

我的

发布
hu_zhenghui
胡争辉
1 年前
truehu_zhenghui

-- 为MacOS的开源启动器Sol增加问答功能,AppScript脚本如下,由于Sol不像某些商业启动器支持参数,所以需要单独使用输入框
set userInput to text returned of (display dialog "Please input your question:" default answer "")
set output to do shell script "/opt/homebrew/bin/ollama run llama2-uncensored:latest " & quoted form of userInput
display dialog output

CSDN App 扫码分享
分享
评论
点赞
打赏
  • 复制链接
  • 举报
下一条:
求助各位大佬,刚下载vscode,自己跟着教程设置半天还是有问题,网上怎么也搜索不到求各位大佬指点
立即登录