Open Interpreter – 开源的 OpenAI 多语言模型交互学习开发工具

Open Interpreter 是一款开源工具,它允许你直接在终端中与 OpenAI 的语言模型进行交互,并让它们执行 Python、JavaScript、Shell 等多种语言的代码。让 AI 帮你处理重复性的工作,比如数据清洗、文件处理等。用自然语言描述你的想法,AI 就能帮你生成代码,加速你的开发进程。通过与 AI 的交互,你可以更深入地了解编程语言和算法。对于基于OpenAI的开发工作非常有帮助。

file

特性

Open Interpreter 让语言模型能够运行代码。安装后运行 interpreter,即可通过终端中的 ChatGPT 类似界面与 Open Interpreter 进行对话。

  • 创建和编辑照片、视频、PDF 等
  • 控制 Chrome 浏览器进行研究
  • 绘图、清理和分析大型数据集

安装

通过 pip 安装
如果你熟悉 Python,建议通过 pip 安装 Open Interpreter:

pip install open-interpreter

你需要 Python 3.10 或 3.11。运行 python --version 检查你的 Python 版本。

建议在虚拟环境中安装 Open Interpreter。

从 pip 安装可选依赖项

Open Interpreter 提供不同功能的可选依赖项。

本地模式依赖项:

pip install open-interpreter[local]

操作系统模式依赖项:

pip install open-interpreter[os]

安全模式依赖项:

pip install open-interpreter[safe]

服务器依赖项:

pip install open-interpreter[server]

实验性的一键安装器

要尝试实验性安装器,使用管理员权限打开你的终端,然后粘贴以下命令:

Mac 系统

curl -sL https://raw.githubusercontent.com/KillianLucas/open-interpreter/main/installers/oi-mac-installer.sh | bash

这些安装器会尝试下载 Python、设置环境并为你安装 Open Interpreter。

Windows 系统

iex "& {$(irm https://raw.githubusercontent.com/KillianLucas/open-interpreter/main/installers/oi-windows-installer-conda.ps1)}"

Linux 系统

curl -sL https://raw.githubusercontent.com/KillianLucas/open-interpreter/main/installers/oi-linux-installer.sh | bash

官方链接

Comments

No comments yet. Why don’t you start the discussion?

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注