Orphic*nix 系统的自然语言 shell 接口
Orphic 使用 GPT 将复杂的任务翻译成 shell 命令以在系统上执行。
注意:Orphic 默认为安全模式,除非指定不安全模式,否则不会自动执行未经确认的命令。
安装
- 确保你的系统有 rust 和 cargo。
cargo install orphic
- Orphic 需要
OPENAI_API_KEY
设置环境变量。可以在这里生成一个。
用法
Orphic 旨在提供与任何其他 CLI 工具一样的使用体验。
$ orphic sort ~/Downloads into folders based on media type
$ orphic how strong is my network connection
$ orphic what version kernel am i running
$ orphic show me the name and size of all files larger than 8MB in ~/Downloads/
$ orphic <do task that would otherwise require complex commands that you don't know off the top of your head>
-u
或者--unsafe
将在没有用户验证的情况下执行命令。
-4
或者--gpt4
将尝试使用 GPT-4 而不是 GPT-3.5-Turbo。请注意,这仅在你的 OpenAI 帐户有权访问该模型时才有效。
-i
或--interpret
将用自然语言描述任务的输出(注意这通常很慢)。
$ orphic -u -i how much disk space is available
You have 16GB available out of a total of 113GB on your main hard
drive, which is mounted on the root directory.
Other partitions and file systems are also listed with their
respective usage percentages and mount points.
-d
或者--debug
将显示原始 GPT 文本以及常规输出,即使在不安全模式下也是如此。
$ orphic -u -d count the lines of rust code in this directory excluding /target/.
{"command": "find . -name target -prune -o -name '*.rs' -type f -print0 | xargs -0 wc -l"}
61 ./src/prompts.rs
219 ./src/main.rs
280 total
-r
或者--repl
将在 REPL 环境中启动 Orphic。
$ orphic -u -r
orphic> when did i last login
wtmp begins Sat Mar 18 14:55
orphic> quit
$
评论
AI Shell自然语言转 shell 命令
AIShell是一个将自然语言转换为shell命令的CLI。设置注意:Node.js的最低支持版本是v141.安装:npminstall-g@builder.io/ai-shell2.从OpenAI找
AI Shell自然语言转 shell 命令
0
engshell支持自然语言交互的 shell
engshell是一个适用于任何操作系统的英语shell,由LLM提供支持。如何使用安装依赖: pipinstall-rrequirements.txt在engshell目录下创建 keys.py 定
engshell支持自然语言交互的 shell
0
JanetshJanet 实现的系统 shell
Janetsh是一个使用Janet语言实现的系统shell。Janet是一个命令式与函数式编程语言,同时也是一个字节码解释器,它是一个现代的Lisp,但是列表替换为其它数据结构,包括数组、表、结构与元
JanetshJanet 实现的系统 shell
0
VitalsGNOME Shell 系统监控扩展
Vitals是一个GNOMEShell扩展,用于在GNOMEShell的顶部菜单栏中显示计算机的温度、电压、风扇速度、内存使用情况、处理器负载、系统资源、网络速度和存储统计信息。Vitals使用异步轮
VitalsGNOME Shell 系统监控扩展
0
Code as Policies自然语言代码生成系统
Code as Policies 是一种以机器人为中心的语言模型生成的程序在物理系统上执行的表述。C
Code as Policies自然语言代码生成系统
0