#openai #ai #cli #gpt-4 #vision #computer #automation

bin+lib auto-pilot

使用 GPT4 视觉操作您的电脑的工具

1 个不稳定版本

0.1.0 2023 年 12 月 18 日

#836机器学习

Apache-2.0

415KB
665

Auto-Pilot-Computer

这是一个使用 GPT4 视觉操作电脑的工具。

目录

安装

如果您使用 Rust 和 cargo,可以通过运行以下命令安装此项目:

cargo install --path .

它也存在于 crates.io 上,因此您可以使用以下命令安装它:

cargo install auto-pilot

如果您想使用预构建的二进制文件,您可以从中下载它们:发布页面

您可以通过运行以下命令构建此项目:

cargo build --release

使用方法

将您的 openai API 密钥作为环境变量导出

export OPENAI_API_KEY=<your api key>

安装程序后,您可以通过运行以下命令运行 CLI:

auto-pilot

可选参数

Usage: auto-pilot [OPTIONS]

Options:
  -o, --objective <OBJECTIVE>
          The objective you want to achieve with the computer

  -g, --grid-interval <GRID_INTERVAL>
          The grid interval to use when capturing the screen. Default is 300. The smaller the number, more number of lines will be drawn. (closer to pixel level)

          [default: 300]

  -h, --help
          Print help (see a summary with '-h')

  -V, --version
          Print version

贡献

请随意通过提交 pull request 或 issue 来为此项目做出贡献。

依赖项

~26–60MB
~1M SLoC